/* Financování: four ways side by side in one card, hairlines between them, then the next step.
   The homepage carries one slim band that points here. */
.fin { padding-top: 4px; padding-bottom: var(--section-space); font-family: Satoshi, Arial, sans-serif; }
.fin-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 26px 0; border: 1px solid #ffffff1a; border-radius: 10px; background: #18191a; list-style: none; }
.fin-list li { padding: 2px 26px; }
.fin-list li + li { border-left: 1px solid #ffffff1a; }
.fin-list h2 { max-width: none; margin: 14px 0 0; font-family: Satoshi, Arial, sans-serif; font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.fin-list p:not(.case-label) { max-width: none; margin: 10px 0 0; color: #a4a4a1; font-size: 14px; line-height: 1.6; }
.fin-next { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 12px; padding: 24px 26px; border: 1px solid #ffffff1a; border-radius: 10px; }
.fin-next h2 { max-width: none; font-family: Satoshi, Arial, sans-serif; font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.fin-next p { max-width: 34em; margin: 8px 0 0; color: #a4a4a1; font-size: 14px; line-height: 1.6; }
.fin-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* The band: on the homepage under Péče, on Kontakt under the form. */
.fin-band { padding-bottom: 0; font-family: Satoshi, Arial, sans-serif; }
/* Kontakt: the band sits right under the form and keeps the usual section space below it. */
.contact-band:has(+ .fin-band) { padding-bottom: 16px; }
.contact-band + .fin-band { padding-bottom: var(--section-space); }
.fin-band-card { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 24px 28px; border: 1px solid #ffffff1a; border-radius: 10px; background: #18191a; }
.fin-band-card h2 { max-width: none; font-family: Satoshi, Arial, sans-serif; font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.fin-band-card p { max-width: 40em; margin: 6px 0 0; color: #a4a4a1; font-size: 14px; line-height: 1.55; }
.fin-band-card .pill { flex: none; font-size: 13px; }

/* Configurator: the line under the price. */
.conf-fin { max-width: none; margin: 10px 0 0; color: #c9c9c5; font-size: 13px; }
.conf-fin a { border-bottom: 1px solid #ffffff4d; color: #f5f5f0; transition: border-color .4s; }
.conf-fin a:hover, .conf-fin a:focus-visible { border-color: #f5f5f0; }

@media (max-width: 1000px) {
  .fin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .fin-list li { padding: 22px 24px; }
  .fin-list li:nth-child(odd) { border-left: 0; }
  .fin-list li:nth-child(n + 3) { border-top: 1px solid #ffffff1a; }
}
@media (max-width: 760px) {
  .fin-list { grid-template-columns: 1fr; border-radius: 9px; }
  .fin-list li { padding: 18px; border-left: 0; }
  .fin-list li + li { border-top: 1px solid #ffffff1a; border-left: 0; }
  .fin-next, .fin-band-card { flex-direction: column; align-items: flex-start; padding: 20px 18px; border-radius: 9px; }
  .fin-actions { flex-direction: column; align-self: stretch; }
  .fin-actions .pill, .fin-band-card .pill { justify-content: space-between; }
  .fin-band-card .pill { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .conf-fin a { transition: none; }
}
