/* ==========================================================
   Nomatec — commercial landing pages (audit item #18)
   Used by: podwykonawca-cnc.php, uslugi/sondermaschinenbau.php
   Relies on base.css for variables, buttons and typography.
   ========================================================== */

.ld-hero {
  padding: calc(var(--header-h, 80px) + 5rem) 1.5rem 4rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,16,28,0.12), transparent 55%),
    linear-gradient(135deg, rgba(10,10,10,1) 0%, rgba(26,26,28,0.97) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ld-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ld-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: #fff;
  margin: 0.9rem 0 1.2rem;
}

.ld-hero__lead {
  max-width: 46rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
}

.ld-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.ld-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}

.ld-stats__item {
  background: rgba(10,10,10,0.9);
  padding: 1.2rem 1.4rem;
}

.ld-stats__val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-red);
}

.ld-stats__label {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}

/* ── Generic section shell ─────────────────────────────── */
.ld-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 1rem;
}

.ld-section__heading {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff;
  margin: 0.7rem 0 1.8rem;
}

/* ── Audience cards ─────────────────────────────────────── */
.ld-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.ld-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  padding: 1.6rem;
}

.ld-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.ld-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
}

/* ── Scope ──────────────────────────────────────────────── */
.ld-scope {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 2.5rem;
}

.ld-scope__text p {
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.4rem;
}

.ld-scope__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.ld-scope__list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.ld-scope__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 2px;
  background: var(--color-red);
}

.ld-scope__links {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  padding: 1.5rem;
  align-self: start;
}

.ld-scope__links h3 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.ld-scope__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.ld-scope__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.ld-scope__links a:hover {
  color: var(--color-red);
}

/* ── Process steps ──────────────────────────────────────── */
.ld-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  counter-reset: ld-step;
}

.ld-step {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem;
}

.ld-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-red);
  margin-bottom: 0.8rem;
}

.ld-step h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ld-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

/* ── Why bullets ────────────────────────────────────────── */
.ld-why {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
}

.ld-why li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.ld-why li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

/* ── FAQ ────────────────────────────────────────────────── */
.ld-faq {
  display: grid;
  gap: 0.6rem;
  max-width: 52rem;
}

.ld-faq__item {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
}

.ld-faq__item summary {
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 600;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}

.ld-faq__item summary::-webkit-details-marker { display: none; }

.ld-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-red);
  font-size: 1.3rem;
  font-weight: 400;
}

.ld-faq__item[open] summary::after { content: '–'; }

.ld-faq__item p {
  padding: 0 1.3rem 1.2rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

/* ── Bottom CTA ─────────────────────────────────────────── */
.ld-cta {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 3.5rem 1.5rem 4.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ld-cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: #fff;
  margin: 0.7rem 0 0.9rem;
}

.ld-cta p {
  max-width: 44rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.8rem;
}

.ld-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 860px) {
  .ld-scope { grid-template-columns: 1fr; }
}
