/* ============================================================
   components.css — bento-плитки послуг, ціни, кроки, FAQ, форми списків
   ============================================================ */

/* ---------- Плитка з фото ---------- */
.tile--photo { padding: 0; min-height: 240px; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.tile--photo .tile__cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(11,44,74,.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #eaf6ff; padding: 11px 16px; border-radius: var(--r-md);
  font-weight: 700; font-size: .95rem; display:flex; align-items:center; gap:9px;
}
.tile--photo .tile__cap svg { width:18px;height:18px;color:var(--c-mint);flex:none; }

/* ---------- Плитка послуги (bento, різні розміри) ---------- */
.svc {
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.svc__ico {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--c-frost);
  color: var(--c-azure-dk);
}
.svc--cool .svc__ico, .svc--mint .svc__ico, .svc--deep .svc__ico {
  background: rgba(255,255,255,.2); color: #fff;
}
.svc__ico svg { width: 28px; height: 28px; }
.svc h3 { margin: 0; }
.svc p { margin: 0; color: var(--c-ink-soft); font-size: .98rem; }
.svc--cool p, .svc--mint p, .svc--deep p { color: rgba(255,255,255,.92); }
.svc__tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--f-head); font-weight: 600; font-size: .82rem;
  background: var(--c-surface-2); color: var(--c-azure-dk);
  padding: 6px 13px; border-radius: 999px;
}
.svc--cool .svc__tag, .svc--mint .svc__tag, .svc--deep .svc__tag {
  background: rgba(255,255,255,.18); color: #fff;
}

/* ---------- Велика «фіча»-плитка з переліком ---------- */
.feature-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; }
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--c-mint-dk); margin-top: 1px; }
.tile--deep .feature-list svg, .tile--cool .feature-list svg { color: var(--c-mint); }

/* ---------- Статистика ---------- */
.stat .num {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1;
  display: block;
}
.stat .lbl { color: var(--c-ink-soft); font-weight: 600; margin-top: 6px; }
.tile--cool .stat .lbl, .tile--mint .stat .lbl, .tile--deep .stat .lbl { color: rgba(255,255,255,.9); }

/* ---------- Кроки (горизонтальна стрічка плиток, не нумерований стовпчик) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.flow .step { background: var(--c-surface); border:1px solid var(--c-line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--sh-1); position: relative; }
.flow .step__n {
  font-family: var(--f-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow .step h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.flow .step p { margin: 0; color: var(--c-ink-soft); font-size: .95rem; }
@media (max-width: 820px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Прайс-таблиця як плитки ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.price-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 8px;
}
.price-card.is-feat { background: var(--grad-deep); color: #e7f3ff; border: 0; }
.price-card.is-feat h3, .price-card.is-feat .price-card__cost { color: #fff; }
.price-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-card h3 { margin: 0; font-size: 1.12rem; }
.price-card__cost { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; white-space: nowrap; color: var(--c-azure-dk); }
.price-card p { margin: 0; color: var(--c-ink-soft); font-size: .95rem; }
.price-card.is-feat p { color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

.price-note { margin-top: 18px; font-size: .92rem; color: var(--c-ink-soft); }

/* ---------- FAQ — плитки, не класичний акордеон-стовпчик ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.faq-item {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--f-head); font-weight: 600; font-size: 1.04rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; line-height: 1; color: var(--c-azure-dk);
  transition: transform .2s; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--c-ink-soft); }
.faq-item .faq-body p { margin: 0; }
@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Зони / список передмість ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.zones span {
  background: var(--c-surface-2); border: 1px solid var(--c-line);
  border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: .92rem; color: var(--c-ink);
}
.tile--deep .zones span { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color:#eaf6ff; }

/* ---------- Контакти ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: var(--c-frost); color: var(--c-azure-dk); display: grid; place-items: center;
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list .k { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-soft); font-weight: 700; }
.contact-list .v { font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; }
.contact-list a.v { color: var(--c-ink); }
.contact-list a.v:hover { color: var(--c-azure-dk); }

.map-tile { padding: 0; min-height: 360px; }
.map-tile iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Контентні сторінки (політики) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }
.prose .tile { padding: clamp(24px,4vw,40px); }

/* ---------- CTA-плитка ---------- */
.cta-tile {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px;
}
.cta-tile .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-tile h2 { margin: 0; }
.cta-tile p { margin: 6px 0 0; color: rgba(255,255,255,.9); max-width: 46ch; }

/* Дрібний бейдж під заголовком плитки */
.minihead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.minihead .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-mint-dk); flex:none; }
.minihead b { font-family: var(--f-head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-azure-dk); }
.tile--deep .minihead b, .tile--cool .minihead b { color: var(--c-mint); }
.tile--deep .minihead .dot, .tile--cool .minihead .dot { background: var(--c-mint); }
