/* =====================================================
   DS EDIKO GROUP — стилі лендінгів
   Доповнення до assets/css/style.css. Використовує ті самі
   токени (--green, --card, --radius…). Усі класи з префіксом
   ld- , щоб не конфліктувати зі стилями головної сторінки.
   ===================================================== */

/* ---------- Загальне ---------- */
.ld-page { padding-top: 84px; }              /* компенсація фіксованого хедера */
.ld-section { padding: 72px 0; }
.ld-section--alt { background: var(--bg-alt); }
.ld-title {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
}
.ld-lead {
  text-align: center;
  color: var(--muted);
  max-width: 70ch;
  margin: 14px auto 0;
  font-size: 1rem;
}
.ld-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.ld-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.ld-card:hover { transform: translateY(-3px); border-color: var(--green); }

.ld-ico { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ld-ico--lg { width: 40px; height: 40px; stroke-width: 1.4; }
.ld-ico--xl { width: 54px; height: 54px; stroke-width: 1.3; }

/* ---------- Hero ---------- */
.ld-hero {
  padding: 56px 0 44px;
  background: radial-gradient(900px 420px at 70% 10%, rgba(113,222,18,0.10), transparent 62%);
}
.ld-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ld-hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.08; font-weight: 800; }
.ld-hero-sub { margin-top: 12px; font-size: 1.05rem; font-weight: 700; color: var(--green-soft); }
.ld-hero-text { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.ld-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.ld-hero-media img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--card-border); box-shadow: var(--shadow); }

/* Плашка моделі (GCL) */
.ld-model {
  display: inline-flex; align-items: stretch; overflow: hidden;
  border-radius: 999px; font-weight: 800; margin-bottom: 18px;
}
.ld-model b { background: var(--green); color: #06210a; padding: 9px 20px; font-size: 1.05rem; }
.ld-model span { border: 2px solid var(--green); border-left: none; border-radius: 0 999px 999px 0; padding: 9px 22px; font-size: 1.02rem; }

/* Великі числові показники (BESS) */
.ld-specs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
.ld-spec { display: flex; align-items: baseline; gap: 10px; }
.ld-spec b { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 1; }
.ld-spec span { font-size: clamp(1rem, 1.8vw, 1.4rem); font-weight: 700; }
.ld-specs-div { width: 1px; align-self: stretch; min-height: 46px; background: var(--card-border); }

/* Бейджі під героєм */
.ld-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ld-badges li {
  flex: 1 1 0; min-width: 116px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; padding: 16px 10px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm);
  font-size: 0.72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); line-height: 1.3;
}
.ld-badges b { color: var(--white); font-size: 0.95rem; }

/* Картка гарантії */
.ld-warranty {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px 26px;
}
.ld-warranty b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.ld-warranty i { display: block; font-style: normal; font-size: 0.9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ld-warranty small { display: block; color: var(--muted-2); font-size: 0.74rem; margin-top: 6px; }

/* Блок бренду (FEB) */
.ld-brand { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px 26px; text-align: center; }
.ld-brand-mark { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: .04em; color: var(--green); line-height: 1; }
.ld-brand-sub { display: block; font-size: 0.72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.ld-brand-tech { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--card-border); text-align: left; }
.ld-brand-tech b { display: block; font-size: 1.05rem; }
.ld-brand-tech span { font-size: 0.74rem; color: var(--muted-2); line-height: 1.35; }

/* ---------- Сітки ---------- */
.ld-grid { display: grid; gap: 20px; margin-top: 40px; }
.ld-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ld-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ld-grid--5 { grid-template-columns: repeat(5, 1fr); }
.ld-grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Проста картка з іконкою */
.ld-tile { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ld-tile h3 { font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green-soft); }
.ld-tile p { font-size: 0.86rem; color: var(--muted); }

/* Статистика */
.ld-stat { padding: 24px 18px; text-align: center; }
.ld-stat b { display: block; font-size: 1.7rem; font-weight: 800; }
.ld-stat span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* Картка з фото (галузі / рішення) */
.ld-photo-card { overflow: hidden; display: flex; flex-direction: column; }
.ld-photo-card img { width: 100%; height: 158px; object-fit: cover; }
.ld-photo-card .ld-photo-body { padding: 18px 18px 22px; }
.ld-photo-card h3 { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green-soft); line-height: 1.3; }
.ld-photo-card p { font-size: 0.84rem; color: var(--muted); margin-top: 8px; }

/* ---------- Панелі зі списками ---------- */
.ld-panel { padding: 26px 28px; }
.ld-panel h2, .ld-panel h3 {
  font-size: 1.05rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--green); margin-bottom: 16px;
}
.ld-panel .check-list li { font-size: 0.9rem; }
.ld-purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ld-purpose li { display: flex; gap: 12px; align-items: center; font-size: 0.87rem; }

/* ---------- Наявність / показники в рядок ---------- */
.ld-stock {
  display: flex; align-items: center; flex-wrap: wrap; gap: 24px;
  background: linear-gradient(135deg, rgba(113,222,18,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(113,222,18,0.4); border-radius: var(--radius); padding: 24px 30px;
}
.ld-stock-item { display: flex; align-items: center; gap: 14px; }
.ld-stock-item b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--green); line-height: 1.05; }
.ld-stock-item span { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ld-stock .btn { margin-left: auto; }

/* ---------- Смуга переваг ---------- */
.ld-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ld-strip li { display: flex; gap: 14px; align-items: center; padding-right: 18px; border-right: 1px solid var(--card-border); }
.ld-strip li:last-child { border-right: none; padding-right: 0; }
.ld-strip b { display: block; font-size: 0.84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; }
.ld-strip span { font-size: 0.72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Ціна ---------- */
.ld-price {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(113,222,18,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(113,222,18,0.4); border-radius: var(--radius); padding: 36px 40px;
}
.ld-price-label { font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ld-price-value { margin-top: 8px; line-height: 1; }
.ld-price-value b { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: var(--green); }
.ld-price-value span { font-size: 1.3rem; font-weight: 700; }
.ld-price-badge {
  display: inline-block; margin-top: 16px; border: 2px solid var(--green); color: var(--green);
  border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: 0.84rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.ld-price h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green); margin-bottom: 16px; }
.ld-cols-3 { columns: 3; column-gap: 26px; }
.ld-cols-3 li { break-inside: avoid; }

/* ---------- Кроки процесу ---------- */
.ld-steps { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.ld-steps li {
  flex: 1 1 0; min-width: 112px; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 0.74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.ld-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -12px; top: 14px; color: var(--green); font-size: 1rem;
}
.ld-step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #06210a;
  display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 800;
}
.ld-process { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 34px 36px; }
.ld-process h2 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 800; text-transform: uppercase; line-height: 1.25; }
.ld-process-aside { display: flex; flex-direction: column; gap: 18px; }
.ld-process-aside img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--card-border); }

/* ---------- Ланцюжок етапів ---------- */
.ld-chain {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px;
  margin-top: 34px; font-size: 0.78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.ld-chain i { color: var(--green); font-style: normal; }

/* ---------- Каталог FEB ---------- */
.ld-pcard { display: flex; flex-direction: column; overflow: hidden; }
.ld-pcard-head {
  background: var(--green); color: #06210a; font-weight: 800; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 13px 10px;
}
.ld-pcard-media { background: #05070a; padding: 8px; }
.ld-pcard-media img { width: 100%; height: 172px; object-fit: contain; }
.ld-pcard-specs { padding: 18px 20px 8px; flex: 1; display: grid; gap: 8px; align-content: start; }
.ld-pcard-specs li { position: relative; padding-left: 22px; font-size: 0.83rem; color: var(--muted); line-height: 1.4; }
.ld-pcard-specs li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.ld-pcard-main {
  display: flex; align-items: center; gap: 9px; padding-left: 0 !important;
  font-weight: 800; font-size: 0.94rem; color: var(--white) !important;
  border-bottom: 1px solid var(--card-border); padding-bottom: 12px; margin-bottom: 4px;
}
.ld-pcard-main::before { display: none !important; }
.ld-pcard-foot { padding: 16px 20px 22px; text-align: center; border-top: 1px solid var(--card-border); margin-top: 12px; }
.ld-pcard-price { font-size: 1.55rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.ld-pcard-price span { font-size: 1rem; }
.ld-pcard-note { font-size: 0.7rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; margin: 5px 0 15px; }

.ld-ccard { display: flex; flex-direction: column; padding: 20px 18px; }
.ld-ccard h3 { font-size: 1.02rem; font-weight: 800; text-align: center; }
.ld-ccard-conf { font-size: 0.76rem; color: var(--muted-2); text-align: center; margin-top: 6px; line-height: 1.4; min-height: 36px; }
.ld-ccard-media { background: #05070a; border-radius: var(--radius-sm); margin: 14px 0; padding: 6px; }
.ld-ccard-media img { width: 100%; height: 112px; object-fit: contain; }
.ld-ccard .check-list { flex: 1; margin-bottom: 14px; }
.ld-ccard .check-list li { font-size: 0.8rem; margin-bottom: 8px; padding-left: 26px; }
.ld-ccard .check-list li::before { width: 17px; height: 17px; background-size: 9px; }
.ld-ccard-price { font-size: 1.2rem; font-weight: 800; color: var(--green); text-align: center; margin-bottom: 14px; }

.ld-mcard { display: flex; flex-direction: column; padding: 22px 20px; }
.ld-mcard h3 { font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.ld-tag { background: var(--green); color: #06210a; font-size: 0.66rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .05em; }
.ld-mcard-conf { font-size: 0.8rem; color: var(--muted-2); margin-top: 6px; }
.ld-mcard-media { background: #05070a; border-radius: var(--radius-sm); margin: 14px 0; padding: 6px; }
.ld-mcard-media img { width: 100%; height: 120px; object-fit: contain; }
.ld-mcard .check-list { margin-bottom: 14px; }
.ld-mcard .check-list li { font-size: 0.84rem; }
.ld-mcard-price { font-size: 1.45rem; font-weight: 800; color: var(--green); text-align: center; margin-bottom: 14px; }
.ld-mcard-price span { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }

.ld-why { display: grid; gap: 24px; padding: 26px 28px; }
.ld-why h3 { font-size: 0.98rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--green); margin-bottom: 14px; }
.ld-why .check-list li { font-size: 0.87rem; }

/* ---------- Фінансування ---------- */
.ld-finance { display: grid; grid-template-columns: .9fr 1.4fr; gap: 22px; align-items: stretch; }
.ld-finance-main { display: flex; gap: 20px; align-items: center; padding: 26px 28px; border-color: rgba(113,222,18,0.4); }
.ld-finance-main h2 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; color: var(--green); line-height: 1.2; }
.ld-finance-terms { font-size: 1rem; font-weight: 800; margin-top: 8px; letter-spacing: .04em; }
.ld-finance-note { font-size: 0.8rem; color: var(--muted-2); margin-top: 8px; }
.ld-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ld-values li { padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ld-values b { font-size: 0.86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ld-values span { font-size: 0.76rem; color: var(--muted-2); line-height: 1.35; }

/* ---------- Форма заявки ---------- */
.ld-order { background: var(--bg-alt); }
.ld-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ld-order-info h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; text-transform: uppercase; line-height: 1.25; }
.ld-order-info p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.ld-contacts { display: flex; flex-direction: column; gap: 15px; margin-top: 26px; }
.ld-contacts li { display: flex; align-items: center; gap: 13px; font-size: 1rem; font-weight: 700; }
.ld-contacts a:hover { color: var(--green); }
.ld-form-note { font-size: 0.8rem; color: var(--muted-2); text-align: center; margin-top: 12px; }
.ld-form-note a { color: var(--green); font-weight: 700; white-space: nowrap; }

/* ---------- Липка кнопка дзвінка (мобільні) ---------- */
.ld-callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 450;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #06210a; font-weight: 800; font-size: 0.98rem;
  padding: 15px 18px; border-radius: 999px; box-shadow: 0 10px 30px -6px rgba(0,0,0,0.6);
}
.ld-callbar .ld-ico { stroke: #06210a; }

/* =====================================================
   Адаптив
   ===================================================== */
@media (max-width: 1080px) {
  .ld-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .ld-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .ld-strip { grid-template-columns: repeat(3, 1fr); }
  .ld-strip li { border-right: none; padding-right: 0; }
  .ld-cols-3 { columns: 2; }
}

@media (max-width: 900px) {
  .ld-section { padding: 56px 0; }
  .ld-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ld-hero-media { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .ld-grid--3 { grid-template-columns: 1fr; }
  .ld-price { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; text-align: center; }
  .ld-price-badge { margin-inline: auto; }
  .ld-cols-3 { columns: 1; text-align: left; }
  .ld-process { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; }
  .ld-order-grid { grid-template-columns: 1fr; gap: 32px; }
  .ld-order-info { text-align: center; }
  .ld-order-info p { margin-inline: auto; }
  .ld-contacts { align-items: center; }
  .ld-stock { flex-direction: column; text-align: center; gap: 18px; }
  .ld-stock .btn { margin-left: 0; width: 100%; }
  .ld-finance { grid-template-columns: 1fr; }
  .ld-values { grid-template-columns: repeat(2, 1fr); }
  .ld-why { grid-template-columns: 1fr; }
  body { padding-bottom: 82px; }             /* місце під липку кнопку дзвінка */
  .ld-callbar { display: flex; }
  .to-top { bottom: 84px; }
}

@media (max-width: 720px) {
  .ld-grid--6, .ld-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .ld-strip { grid-template-columns: repeat(2, 1fr); }
  .ld-purpose { grid-template-columns: 1fr; }
  .ld-hero-cta { flex-direction: column; }
  .ld-hero-cta .btn { width: 100%; }
  .ld-specs-div { display: none; }
  .ld-steps li:not(:last-child)::after { display: none; }
  .ld-steps li { flex: 1 1 calc(50% - 8px); min-width: calc(50% - 8px); }
  .ld-chain { flex-direction: column; gap: 8px; }
  .ld-chain i { transform: rotate(90deg); }
  .ld-panel { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .ld-grid--6, .ld-grid--5, .ld-grid--2, .ld-strip, .ld-values { grid-template-columns: 1fr; }
  .ld-badges li { flex: 1 1 100%; flex-direction: row; text-align: left; gap: 13px; }
  .ld-steps li { flex: 1 1 100%; min-width: 100%; flex-direction: row; justify-content: flex-start; gap: 14px; }
}

/* ---------- Іконки всередині кнопок ---------- */
.btn-primary .ld-ico { stroke: #06210a; }
.btn-ghost .ld-ico { stroke: currentColor; }
