/* delivery.css — страница "Доставка и монтаж" */

body[data-page="delivery"] .main-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* ── HERO ── */
.del-hero {
  position: relative;
  border-radius: 16px;
  padding: 56px 44px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--dark), var(--secondary));
  color: #fff;
  overflow: hidden;
}
.del-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,166,35,.25), transparent 65%);
  pointer-events: none;
}
.del-hero-content { position: relative; z-index: 1; max-width: 720px; }
.del-hero h1 {
  font-size: 36px; font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px; margin-bottom: 14px;
}
.del-hero p { font-size: 17px; line-height: 1.6; opacity: .92; margin-bottom: 24px; max-width: 620px; }
.del-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.del-hero-cta .btn-primary {
  background: var(--accent); color: #1a1a1a; border: none;
  padding: 14px 26px; border-radius: 10px; font-weight: 700;
  font-size: 15px; cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.del-hero-cta .btn-primary:hover { background: #f9b43f; transform: translateY(-1px); }
.del-hero-cta .btn-outline {
  color: #fff; border: 2px solid rgba(255,255,255,.3);
  padding: 12px 24px; border-radius: 10px; font-weight: 700;
  font-size: 15px; text-decoration: none; transition: all .15s;
  display: inline-flex; align-items: center;
}
.del-hero-cta .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── STATS ── */
.del-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 30px;
}
.del-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 20px; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ds-num { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; margin-bottom: 4px; line-height: 1; }
.ds-num small { font-size: 14px; color: var(--text-light); font-weight: 600; }
.ds-label { font-size: 12px; color: var(--text-light); font-weight: 500; }

/* ── BLOCKS ── */
.del-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 34px; margin-bottom: 22px;
}
.del-block-accent { background: linear-gradient(135deg, #f6fff9, #eef9f2); border-color: #c7ecd2; }
.del-block-dark { background: linear-gradient(135deg, var(--dark), var(--secondary)); color: #fff; border-color: transparent; }

.del-block-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.del-block-head-light { color: #fff; }
.del-block-head h2 { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -.3px; margin-bottom: 4px; line-height: 1.25; }
.del-block-head-light h2 { color: #fff; }
.del-block-head p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.del-block-head-light p { color: rgba(255,255,255,.85); }

.del-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: #edf7f1; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.del-icon svg { width: 26px; height: 26px; }
.del-icon-accent { background: #fdefd3; color: var(--accent); }
.del-icon-light { background: rgba(255,255,255,.15); color: #fff; }

/* ── GRIDS ── */
.del-grid { display: grid; gap: 16px; }
.del-grid-2 { grid-template-columns: repeat(2, 1fr); }
.del-grid-3 { grid-template-columns: repeat(3, 1fr); }
.del-grid-4 { grid-template-columns: repeat(4, 1fr); }

.del-card {
  background: #f8fafb; border: 1px solid var(--border);
  border-radius: 10px; padding: 22px 20px; transition: all .2s;
}
.del-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.dc-icon { font-size: 32px; margin-bottom: 10px; line-height: 1; }
.del-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.del-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.dc-meta { font-size: 13px; color: var(--primary); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--border); }
.dc-meta strong { font-size: 15px; font-weight: 800; }

.del-capability {
  background: rgba(255,255,255,.7);
  border-radius: 8px; padding: 18px 16px;
}
.dcap-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.dcap-desc { font-size: 12px; color: var(--text-light); line-height: 1.5; }

/* ── INFO ROWS ── */
.del-info-row {
  display: flex; gap: 12px; align-items: center;
  background: #fef5e7; border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 14px 18px; margin-top: 20px;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.del-info-row strong { color: var(--dark); font-weight: 700; }
.del-info-row-green { background: #edf7f1; border-left-color: var(--primary); }
.di-ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent); }
.del-info-row-green .di-ico { color: var(--primary); }

/* ── TIMELINE ── */
.del-timeline { position: relative; padding-left: 34px; }
.del-timeline::before {
  content: ''; position: absolute;
  left: 16px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), #c7ecd2);
}
.dtl-step { display: flex; gap: 18px; margin-bottom: 24px; position: relative; }
.dtl-step::before {
  content: ''; position: absolute;
  left: -34px; top: 2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); z-index: 0;
}
.dtl-num {
  position: relative; z-index: 1;
  width: 32px; height: 32px; margin-left: -32px;
  border-radius: 50%; background: var(--primary); color: #fff;
  font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 4px;
}
.dtl-content { flex: 1; }
.dtl-time {
  display: inline-block; background: #edf7f1; color: var(--primary);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .3px;
}
.dtl-content h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.dtl-content p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── WARRANTY ── */
.del-warranty {
  background: #f8fafb; border-radius: 10px; padding: 22px 24px;
  border-top: 4px solid var(--primary);
}
.del-warranty h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.del-warranty ul { list-style: none; padding: 0; }
.del-warranty li {
  padding: 8px 0 8px 26px; font-size: 13px; color: var(--text);
  line-height: 1.55; position: relative; border-bottom: 1px solid var(--border);
}
.del-warranty li:last-child { border-bottom: none; }
.del-warranty li::before {
  content: '✓'; position: absolute;
  left: 0; top: 7px; color: var(--primary); font-weight: 800; font-size: 14px;
}
.del-warranty strong { color: var(--dark); font-weight: 700; }

/* ── SERVICE CARDS ── */
.del-service-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 22px 20px;
}
.del-service-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.del-service-card p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.6; }

/* ── DOCS ── */
.del-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ddoc {
  padding: 12px 16px; background: #f8fafb; border-radius: 8px;
  font-size: 13px; color: var(--text); font-weight: 500;
  border-left: 3px solid var(--primary);
}

/* ── FAQ ── */
.del-faq { display: flex; flex-direction: column; gap: 8px; }
.dfaq {
  background: #f8fafb; border-radius: 10px;
  overflow: hidden; transition: background .2s;
}
.dfaq[open] { background: var(--white); border: 1px solid var(--border); }
.dfaq summary {
  padding: 16px 20px; font-weight: 600; color: var(--dark);
  cursor: pointer; font-size: 14px; user-select: none;
  list-style: none; position: relative; padding-right: 40px;
}
.dfaq summary::-webkit-details-marker { display: none; }
.dfaq summary::after {
  content: '+'; position: absolute;
  right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--primary);
  transition: transform .2s;
}
.dfaq[open] summary::after { content: '–'; }
.dfaq p { padding: 0 20px 18px; font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ── CTA ── */
.del-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px; padding: 48px 36px;
  text-align: center; color: #fff; margin-top: 10px;
}
.del-cta h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.3px; }
.del-cta p { font-size: 15px; opacity: .92; margin-bottom: 22px; }
.del-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  background: var(--accent); color: #1a1a1a; border: none;
  padding: 15px 32px; border-radius: 10px; font-weight: 800;
  font-size: 15px; cursor: pointer; font-family: inherit; transition: all .15s;
}
.btn-cta:hover { background: #f9b43f; transform: translateY(-1px); }
.btn-cta-outline {
  color: #fff; border: 2px solid rgba(255,255,255,.4);
  padding: 13px 28px; border-radius: 10px; font-weight: 700;
  font-size: 15px; text-decoration: none; transition: all .15s;
  display: inline-flex; align-items: center;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .del-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .del-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .del-hero { padding: 32px 22px; border-radius: 12px; }
  .del-hero h1 { font-size: 24px; }
  .del-hero p { font-size: 14px; }
  .del-hero-cta { flex-direction: column; }
  .del-hero-cta .btn-primary, .del-hero-cta .btn-outline { width: 100%; justify-content: center; }

  .del-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
  .del-stat { padding: 16px 12px; }
  .ds-num { font-size: 24px; }
  .ds-num small { font-size: 12px; }
  .ds-label { font-size: 11px; }

  .del-block { padding: 22px 18px; border-radius: 10px; }
  .del-block-head { gap: 12px; margin-bottom: 16px; }
  .del-block-head h2 { font-size: 18px; }
  .del-block-head p { font-size: 13px; }
  .del-icon { width: 42px; height: 42px; }
  .del-icon svg { width: 22px; height: 22px; }

  .del-grid-2, .del-grid-3, .del-grid-4 { grid-template-columns: 1fr; }
  .del-card { padding: 18px 16px; }
  .del-card h3 { font-size: 14px; }

  .del-timeline { padding-left: 30px; }
  .del-timeline::before { left: 12px; }
  .dtl-step::before { left: -30px; width: 32px; height: 32px; }
  .dtl-num { width: 28px; height: 28px; margin-left: -30px; font-size: 13px; }
  .dtl-content h3 { font-size: 15px; }
  .dtl-content p { font-size: 13px; }

  .del-docs { grid-template-columns: 1fr; }

  .dfaq summary { padding: 14px 16px; padding-right: 38px; font-size: 13px; }
  .dfaq p { padding: 0 16px 14px; font-size: 13px; }

  .del-cta { padding: 32px 20px; border-radius: 12px; }
  .del-cta h2 { font-size: 20px; }
  .del-cta p { font-size: 14px; }
  .del-cta-buttons { flex-direction: column; }
  .btn-cta, .btn-cta-outline { width: 100%; justify-content: center; }
}
