/* Версия 10 «Свой свет»: линейка комплектов, карточки оборудования, контакты, мобильная панель связи */

.reveal { transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.accordion summary span { flex: 0 0 auto; }
.accordion summary { padding-right: 8px; }
.accordion details, .accordion summary { min-width: 0; }

.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--green); }
.btn-outline:hover { background: var(--green); color: white; box-shadow: none; }
.btn-ghost { background: transparent; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--sun); }

/* Комплекты */
.kits { background: var(--paper); }
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kit-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white;
  transition: .3s transform, .3s box-shadow;
}
.kit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kit-card.featured { background: var(--deep); color: white; border-color: var(--deep); }
.kit-label { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.featured .kit-label { color: #9fc2b0; }
.kit-card h3 { margin: 2px 0 0; font-family: Unbounded, sans-serif; font-size: 34px; line-height: 1.1; letter-spacing: -.04em; }
.featured h3 { color: var(--sun); }
.kit-for { margin: 6px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; min-height: 38px; }
.featured .kit-for { color: #cddbd4; }
.kit-specs { margin: 0 0 14px; border-top: 1px solid var(--line); }
.featured .kit-specs { border-color: rgba(255,255,255,.16); }
.kit-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.featured .kit-specs div { border-color: rgba(255,255,255,.16); }
.kit-specs dt { color: var(--muted); font-size: 12px; }
.featured .kit-specs dt { color: #aac3b6; }
.kit-specs dd { margin: 0; text-align: right; font-weight: 800; font-size: 14px; line-height: 1.3; }
.kit-specs dd small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); }
.featured .kit-specs dd small { color: #aac3b6; }
.kit-specs .kit-tbd { color: var(--muted); font-weight: 600; }
.kit-status { margin: 0 0 18px; font-size: 11px; line-height: 1.45; color: #8a6d2c; }
.featured .kit-status { color: #e8cf94; }
.kit-card .btn { margin-top: auto; }
.kits-note { max-width: 860px; margin: 26px 0 0; color: var(--muted); font-size: 13px; }

/* Карточки оборудования вместо широкой таблицы */
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start;
  padding: 18px; border: 1px solid #cbd8cd; border-radius: 18px; background: white;
}
.spec-card .product-image-button { width: 112px; min-height: 96px; background: white; }
.spec-card .product-image-button img { width: 100%; height: 90px; object-fit: contain; }
.spec-cat { margin: 0; color: #809087; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.spec-card h3 { margin: 4px 0 2px; font-size: 16px; line-height: 1.3; }
.spec-model { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.spec-card details summary { cursor: pointer; color: var(--green); font-size: 13px; font-weight: 800; list-style: none; }
.spec-card details summary::-webkit-details-marker { display: none; }
.spec-card details summary::after { content: " +"; }
.spec-card details[open] summary::after { content: " −"; }
.spec-card ul { margin: 10px 0 0; padding-left: 17px; color: #334a42; font-size: 13px; }
.spec-card li { margin-bottom: 4px; }

/* Что подготовить для расчёта */
.start-box {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px 50px;
  margin-top: 70px; padding: 30px 34px; border-radius: var(--radius); background: white; border: 1px solid var(--line);
}
.start-box h3 { grid-row: span 2; margin: 0; font-family: Unbounded, sans-serif; font-size: 22px; line-height: 1.3; }
.start-box ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.start-box li { position: relative; padding-left: 20px; font-weight: 700; font-size: 14px; }
.start-box li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.start-box p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* Квиз: действия на экране результата */
.quiz-result-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.quiz-copy-note { white-space: pre-line; }

/* Контакты */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.request-form fieldset { display: contents; border: 0; margin: 0; padding: 0; }
.request-form .wide { grid-column: 1 / -1; }
.request-form label:nth-child(4) { grid-column: auto; }
.request-form .wide:nth-child(4) { grid-column: 1 / -1; }
.request-form.is-disabled input,
.request-form.is-disabled select,
.request-form.is-disabled textarea,
.request-form.is-disabled .btn { opacity: .55; cursor: not-allowed; }
.request-form.is-disabled .btn:hover { transform: none; box-shadow: none; background: var(--sun); }
.form-off {
  grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px;
  background: #fff6e2; border: 1px solid #efd9a6; color: #6b5420; font-size: 13px; font-weight: 700;
}

/* Подвал */
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-grid .footer-links a { color: #dfe8e1; }
.footer-grid .footer-links a:last-child { color: var(--sun); }

/* Мобильная панель связи */
.mobile-bar { display: none; }

@media (max-width: 1100px) {
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
  .spec-cards { grid-template-columns: 1fr; }
  .start-box { grid-template-columns: 1fr; }
  .start-box h3 { grid-row: auto; }
}

@media (max-width: 600px) {
  .nav .btn { display: inline-flex; padding: 9px 14px; font-size: 12px; }
  .hero { padding-top: 96px; }
  .hero-copy h1 { font-size: 34px; margin-bottom: 18px; }
  .hero-actions { margin: 26px 0; }
  .hero-visual { min-height: 0; }
  .kit-grid { grid-template-columns: 1fr; }
  .product-metrics { grid-template-columns: 1fr 1fr; }
  .product-metrics div { min-height: 76px; padding: 14px; border-right: 1px solid rgba(255,255,255,.14); }
  .product-metrics div:nth-child(2n) { border-right: 0; }
  .product-metrics div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .product-metrics div:nth-child(n+3) { border-bottom: 0; }
  .product-metrics b { font-size: 15px; }
  .kit-for { min-height: 0; }
  .spec-card { grid-template-columns: 88px 1fr; gap: 14px; padding: 14px; }
  .spec-card .product-image-button { width: 88px; min-height: 80px; }
  .spec-card .product-image-button img { height: 72px; }
  .start-box { margin-top: 44px; padding: 22px; }
  .start-box ul { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(12,35,30,.96); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 46px;
    border-radius: 999px; font-weight: 800; font-size: 14px; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  }
  .mobile-bar .mobile-bar-max { background: var(--sun); color: var(--deep); box-shadow: none; }
}
