@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:ital,wght@0,600;0,700;0,800;1,600&display=swap&subset=latin,latin-ext");

/* Studio BI — jasna kolorystyka insp. Arkusze Google / Excel (zieleń) */

:root {
  --bg: #f4fbf6;
  --bg-elevated: #e8f5e9;
  --bg-card: #ffffff;
  --border: #a8d4b0;
  /* Kontrast tekstu względem tła ≥ 4.5:1 (tekst zwykły) */
  --text: #0d1f14;
  --muted: #1a3328;
  --accent: #146c2e;
  --accent-bright: #1b7a36;
  --accent-dim: rgba(20, 108, 46, 0.14);
  --accent-glow: rgba(52, 168, 83, 0.28);
  --ribbon: #0f3d24;
  --focus-ring: #0a5c8f;
  --focus-ring-offset: #fff;
  --font-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", Cambria, Georgia, "Times New Roman", serif;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max: 1120px;
  --shadow-sm: 0 1px 3px rgba(21, 52, 35, 0.08);
  --shadow-md: 0 12px 40px rgba(21, 52, 35, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Pomijanie nawigacji (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--ribbon);
  border-radius: var(--radius-sm);
  text-decoration: none;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Widoczny fokus klawiatury (WCAG 2.4.7, 2.4.13) */
:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.site-footer .btn-ghost:focus-visible,
.site-footer a:focus-visible {
  outline-color: #93c5fd;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
/* Bez backdrop-filter na nagłówku: w Chrome/Safari tworzy blok zawierania dla fixed,
   przez co menu mobilne (fixed) jest pozycjonowane wewnątrz ~72px paska — nieklikalne. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.logo:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--text);
  text-decoration: none;
  background: var(--accent-dim);
}

.nav-link.is-active {
  color: var(--accent);
  font-weight: 700;
}

.nav-cta {
  color: #fff;
  background: var(--accent);
  margin-left: 0.25rem;
}

.nav-cta:hover {
  color: #fff;
  background: #146c2e;
}

.nav-item {
  position: relative;
}

.nav-dropdown-btn .chev {
  font-size: 0.7em;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  border-radius: 6px;
  text-decoration: none;
}

.dropdown a:hover {
  color: var(--text);
  background: var(--accent-dim);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(52, 168, 83, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(24, 128, 56, 0.12), transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(24, 128, 56, 0.06) 31px,
      rgba(24, 128, 56, 0.06) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(24, 128, 56, 0.06) 31px,
      rgba(24, 128, 56, 0.06) 32px
    ),
    linear-gradient(180deg, #e8f5e9 0%, var(--bg) 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.92;
}

.sublead {
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #146c2e;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.hero-panel {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.hero-card h2 {
  font-size: 1.35rem;
  color: var(--text);
}

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags li {
  padding: 0.35rem 0.75rem;
  background: var(--accent-dim);
  color: var(--ribbon);
  border: 1px solid rgba(24, 128, 56, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .stats-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--text);
  max-width: 32ch;
}

.section-intro {
  max-width: 60ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.kicker-light {
  color: #86efac;
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pillar h3 {
  font-size: 1.1rem;
  color: var(--text);
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--text);
}

.feature-card ul {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* Split tech */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: relative;
  width: 240px;
  height: 240px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
}

.orbit span {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.orbit span:nth-child(1) {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit span:nth-child(2) {
  bottom: 18%;
  left: 5%;
}

.orbit span:nth-child(3) {
  bottom: 18%;
  right: 5%;
}

/* Wstęga jak zielony pasek Excel / akcent marki */
.section-dark {
  background: linear-gradient(165deg, var(--ribbon) 0%, #166534 100%);
  border-block: 1px solid #0f3d26;
}

.section-dark .section-title,
.section-dark .title-light,
.section-dark h3 {
  color: #f0fdf4;
}

.section-dark p {
  color: rgba(240, 253, 244, 0.88);
}

.section-dark .kicker {
  color: #bbf7d0;
}

.title-light {
  color: var(--text);
}

.quote {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid #6ee7b7;
  font-size: 1.15rem;
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(240, 253, 244, 0.85);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .arch-grid {
    grid-template-columns: 1fr;
  }
}

.arch-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(187, 247, 208, 0.25);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.arch-grid h3 {
  font-size: 1.05rem;
  color: #f0fdf4;
}

/* Demo */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

.demo-tile {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
  text-decoration: none;
}

.demo-thumb {
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}

.demo-a {
  background-color: #e8f5e9;
  background-image:
    linear-gradient(135deg, rgba(52, 168, 83, 0.35), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(24, 128, 56, 0.12) 24px, rgba(24, 128, 56, 0.12) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(24, 128, 56, 0.12) 24px, rgba(24, 128, 56, 0.12) 25px);
}

.demo-b {
  background-color: #f1f8f3;
  background-image:
    linear-gradient(225deg, rgba(24, 128, 56, 0.2), transparent),
    repeating-linear-gradient(-45deg, #dff3e4, #dff3e4 6px, #ccebd4 6px, #ccebd4 12px);
}

.demo-tile h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.demo-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent-bright);
  box-shadow: 0 8px 36px var(--accent-dim);
}

.badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--accent-bright);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.1rem;
  color: var(--text);
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.price-card ul {
  flex: 1;
  margin: 1rem 0;
  font-size: 0.9rem;
}

/* SLA */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .sla-grid {
    grid-template-columns: 1fr;
  }
}

.sla-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.sla-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--accent-dim), var(--bg-card));
}

.sla-hours {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.25rem 0 0.5rem;
}

.steps {
  max-width: 52ch;
  color: var(--muted);
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

/* Why + FAQ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-card);
}

.why-grid h3 {
  font-size: 1.05rem;
  color: var(--text);
}

.faq-title {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.95rem;
}

/* Audyt */
.audyt {
  background: linear-gradient(90deg, var(--accent-dim), transparent);
  border-block: 1px solid var(--border);
}

.audyt-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.audyt-inner .btn-primary {
  flex-shrink: 0;
}

.audyt-inner .section-title {
  margin-bottom: 0.35rem;
}

/* Contact */
.section-contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.phone a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.phone a:hover {
  color: var(--accent);
}

.fine-print {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form .form-field > label {
  display: block;
  margin: 0;
}

.req {
  color: var(--accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--accent);
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b91c1c;
  box-shadow: 0 0 0 1px #b91c1c;
}

.form-errors {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
}

.form-errors:empty,
.form-errors[hidden] {
  display: none;
}

.form-errors ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  font-weight: 500;
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #991b1b;
}

.field-error:empty {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid #0f3d26;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, #0f3d26 0%, #0a2e1c 100%);
  color: #c8e6c9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.logo-footer {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #f0fdf4;
}

.logo-footer span {
  color: #86efac;
}

.site-footer .logo:hover {
  text-decoration: none;
}

.site-footer > .container > .footer-grid > div > p {
  color: #a5d6a7;
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8e6c9;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #c8e6c9;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #81c784;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1202;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border);
    box-shadow: -4px 0 24px rgba(21, 52, 35, 0.12);
    z-index: 1200;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  /* Ciemna warstwa pod menu — zamyka po tapnięciu (patrz main.js) */
  .nav-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--header-h);
    background: rgba(21, 52, 35, 0.35);
    z-index: 1199;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.nav-open .nav-backdrop {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    text-align: left;
    width: 100%;
  }

  .nav-cta {
    margin: 1rem 0 0;
    justify-content: center;
    border-radius: 999px;
  }

  .nav-item.has-dropdown {
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-btn {
    width: 100%;
    text-align: left;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.5rem 0.5rem;
    display: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }
}

/* ——— Podstrony: nagłówek, okruszki, blog, treść artykułu, narzędzia ——— */

.page-head {
  padding: 2.75rem 0 1.75rem;
  background: linear-gradient(180deg, #e8f5e9 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--text);
  margin-bottom: 0.35rem;
}

.page-head .lead {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.breadcrumbs a {
  color: var(--accent);
}

.breadcrumbs span {
  opacity: 0.5;
  margin: 0 0.35rem;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

@media (max-width: 900px) {
  .layout-sidebar {
    grid-template-columns: 1fr;
  }
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li {
  margin-bottom: 0.5rem;
}

.sidebar-card a {
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 2rem 0 4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: var(--accent-bright);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.blog-card-thumb {
  height: 140px;
  background: var(--bg-elevated);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(24, 128, 56, 0.08) 20px, rgba(24, 128, 56, 0.08) 21px),
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(24, 128, 56, 0.08) 20px, rgba(24, 128, 56, 0.08) 21px);
}

.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.read-more {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}

/* ——— Hub bloga (pełna strona listy) ——— */
.blog-hub {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(165deg, #0f2918 0%, #143d24 42%, #1a4d2e 100%);
  color: #e8f4ef;
  overflow: hidden;
  font-family: var(--font-sans);
}

.blog-hub__mesh {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(82, 220, 160, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(52, 168, 83, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(15, 61, 36, 0.5), transparent 45%);
  opacity: 0.95;
  pointer-events: none;
}

.blog-hub__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.blog-hub__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.blog-hub__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(180, 235, 205, 0.85);
  margin: 0 0 0.75rem;
}

.blog-hub__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
  text-wrap: balance;
}

.blog-hub__lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: rgba(220, 240, 228, 0.88);
  max-width: 48ch;
}

.blog-hub__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.blog-hub__pillars li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(232, 248, 238, 0.95);
}

.blog-listing-page-head {
  padding: 1.35rem 0 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.blog-listing-page-head .blog-listing-context-h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.25rem;
}

.blog-listing-page-head .blog-listing-context-lead {
  font-size: 0.95rem;
  max-width: 62ch;
}

.blog-listing-page-head .blog-listing-context-lead a {
  color: var(--accent);
  font-weight: 600;
}

/* ——— Lista bloga (karty, kontrast) ——— */
.blog-listing-main {
  padding: 2rem 0 4.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, #eef8f1 55%, var(--bg) 100%);
}

.blog-listing-main__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.blog-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.blog-toolbar__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1;
}

.blog-toolbar__select {
  min-width: min(100%, 18rem);
  flex: 0 1 auto;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  line-height: 1.3;
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-list__item {
  margin: 0;
}

.blog-list__link {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.15rem 1.5rem;
  padding: 1.2rem 1.35rem;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-list__link--lead {
  grid-template-columns: min(200px, 38vw) 1fr;
  padding: 1.35rem 1.5rem;
  border-color: var(--accent-bright);
  box-shadow: 0 16px 48px rgba(20, 108, 46, 0.12);
}

@media (max-width: 560px) {
  .blog-list__link,
  .blog-list__link--lead {
    grid-template-columns: 96px 1fr;
    gap: 0.85rem 1rem;
    padding: 1rem;
  }
}

.blog-list__link:hover {
  border-color: var(--accent-bright);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.blog-list__link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.blog-list__thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(20, 108, 46, 0.2);
  background: var(--bg-elevated);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  align-self: start;
}

.blog-list__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-list__thumb--placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(232, 245, 233, 0.95) 0%, #f4fbf6 50%, rgba(200, 230, 210, 0.9) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(24, 128, 56, 0.07) 10px,
      rgba(24, 128, 56, 0.07) 11px
    );
}

.blog-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.blog-list__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.blog-list__title {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.28;
}

.blog-list__link--lead .blog-list__title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
}

.blog-list__meta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.blog-list__excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.blog-list__link--lead .blog-list__excerpt {
  -webkit-line-clamp: 4;
}

.blog-list__cta-btn {
  align-self: flex-end;
  margin-top: 0.85rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(21, 52, 35, 0.12);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.blog-list__link:hover .blog-list__cta-btn {
  background: #146c2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 108, 46, 0.22);
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.blog-pager a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.blog-pager a:hover {
  background: var(--accent-dim);
  text-decoration: none;
}

.blog-pager__status {
  font-size: 0.9rem;
  color: var(--muted);
}

.article-main {
  padding: 2rem 0 4rem;
}

/* Wpis blogowy: wąska, wyśrodkowana kolumna + szersza okładka 16:9 pod tytułem */
.article-main--blog {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-main--blog > .cms-note {
  width: 100%;
  max-width: 42rem;
}

.article-main--blog > .breadcrumbs {
  width: 100%;
  max-width: 42rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0;
  text-align: center;
  margin-bottom: 1rem;
}

.article-main--blog .article-header {
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  text-align: center;
}

.article-main--blog .article-header .tag-list {
  justify-content: center;
}

.article-cover {
  width: 100%;
  max-width: 56rem;
  margin: 0 0 2.25rem;
  padding: 0;
}

.article-cover img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.article-cover-placeholder {
  aspect-ratio: 1200 / 628;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: var(--radius);
  border: 1px dashed rgba(24, 128, 56, 0.4);
  background:
    linear-gradient(160deg, rgba(232, 245, 233, 0.95) 0%, #f4fbf6 45%, rgba(224, 242, 231, 0.9) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(24, 128, 56, 0.04) 12px,
      rgba(24, 128, 56, 0.04) 13px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

.article-cover-placeholder__label {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ribbon);
  max-width: 36ch;
}

.article-main--blog .prose {
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.article-main--blog .pager {
  width: 100%;
  max-width: 42rem;
}

.article-header {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.tag-list li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--ribbon);
  border: 1px solid rgba(24, 128, 56, 0.2);
}

.prose {
  max-width: 720px;
  font-size: 1.05rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  color: var(--text);
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose a {
  font-weight: 600;
}

.prose pre,
.prose code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}

.prose pre {
  background: #e8f5e9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 2rem 0 4rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tool-card h2 {
  font-size: 1.15rem;
  color: var(--text);
}

.tool-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
  max-width: 520px;
}

.tool-panel label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.tool-panel input {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.tool-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--ribbon);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}

.checklist li label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  flex: 1;
}

.checklist input {
  margin-top: 0.35rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.cms-note {
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
}

.site-footer .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f0fdf4;
}

.site-footer .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ——— Placeholdery mediów (CMS / asset do podmiany) ——— */

.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px dashed rgba(24, 128, 56, 0.4);
  background:
    repeating-linear-gradient(0deg, transparent, transparent 14px, rgba(24, 128, 56, 0.05) 14px, rgba(24, 128, 56, 0.05) 15px),
    repeating-linear-gradient(90deg, transparent, transparent 14px, rgba(24, 128, 56, 0.05) 14px, rgba(24, 128, 56, 0.05) 15px),
    rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  padding: 1rem 1.25rem;
  min-height: 100px;
}

.media-placeholder--hero {
  min-height: clamp(160px, 32vw, 300px);
  margin-top: 1.75rem;
}

.media-placeholder--compact {
  min-height: 88px;
  margin-top: 1rem;
  padding: 0.75rem;
}

.media-placeholder--pillar {
  min-height: 72px;
  margin-bottom: 1rem;
  border-style: dashed;
}

.media-placeholder--wide {
  min-height: 180px;
  margin-bottom: 2rem;
}

.media-placeholder--quote {
  min-height: 120px;
  margin-top: 1.5rem;
}

.media-placeholder--split {
  min-height: 220px;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

.section-dark .media-placeholder,
.arch .media-placeholder {
  border-color: rgba(187, 247, 208, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(240, 253, 244, 0.8);
}

.section-dark .media-placeholder__label,
.arch .media-placeholder__label {
  color: #bbf7d0;
}

.media-placeholder__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  line-height: 1.35;
  max-width: 28ch;
}

.media-placeholder__hint {
  font-size: 0.72rem;
  opacity: 0.9;
  max-width: 36ch;
  line-height: 1.4;
}

.placeholder-caption {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin: 0 0 0.65rem;
}

.demo-thumb-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.demo-thumb-wrap .media-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ribbon);
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
}

.logo-strip-placeholder {
  margin-top: 2rem;
  padding: 1rem;
  border: 2px dashed rgba(24, 128, 56, 0.3);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.logo-strip-placeholder strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
