/* „Моята кола“ — вход и регистрация в сервизната книжка (servis.avtokar-comers.com) */
.nav a.nav-acct { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 2px solid var(--ink); border-radius: 999px; line-height: 1.15; }
.nav a.nav-acct:hover { border-color: var(--red); color: var(--ink); }
.nav-acct .acct-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #FFFFFF; }
.nav-acct .acct-ic svg { width: 18px; height: 18px; }
.nav-acct .acct-txt { display: flex; flex-direction: column; }
.nav-acct .acct-txt b { font-weight: 700; font-size: 15px; }
.nav-acct .acct-txt small { font-size: 12px; font-weight: 500; color: var(--muted); }
.nav a.nav-acct:hover .acct-txt b { color: var(--red); }

@media (min-width: 761px) and (max-width: 1180px) {
  .nav-acct .acct-txt small { display: none; }
}
@media (max-width: 760px) {
  .site-header .nav a.nav-acct { display: inline-flex; gap: 8px; padding: 4px 14px 4px 4px; }
  .nav-acct .acct-ic { width: 30px; height: 30px; }
  .nav-acct .acct-txt small { display: none; }
}
@media (max-width: 360px) {
  .nav-acct .acct-txt { display: none; }
  .site-header .nav a.nav-acct { padding: 4px; }
}

/* Секцията „Сервизна книжка“ на началната страница */
.knizhka-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.knizhka-grid .card { flex: none; padding: 24px; }
.knizhka-grid .card h3 { margin: 0; font-size: 18px; }
.knizhka-grid .card p { margin: 0; color: var(--muted); }
.kn-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #FDE8E9; color: var(--red); }
.kn-ic svg { width: 24px; height: 24px; }
.kn-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.kn-cta p { margin: 0; color: var(--muted); max-width: 520px; }
@media (max-width: 1000px) { .knizhka-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .knizhka-grid { grid-template-columns: 1fr; } }

/* „Корпоративни клиенти“ */
.kl-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kl { box-sizing: border-box; flex: 0 0 calc((100% - 48px) / 5); min-width: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.kl-logo { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 112px; padding: 18px 16px; }
.kl-logo img { display: block; width: auto; height: auto; max-width: 100%; }
.kl-name { padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; color: var(--ink); }
.kl-corp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; background: var(--ink); color: #F4F3EF; border-radius: 14px; padding: 40px; }
.kl-corp-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kl-corp h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.kl-corp p { margin: 0; color: var(--muted-dark); }
.kl-corp .kl-perks { color: #F4F3EF; font-weight: 600; font-size: 15px; }
.kl-corp .btn { margin-top: 6px; }
.kl-sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kl-sectors li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--ink-line); border-left: 4px solid var(--red); border-radius: 8px; background: var(--ink-2); }
.kl-sectors b { font-weight: 600; line-height: 1.3; }
.kl-sectors span { font-size: 14px; line-height: 1.45; color: var(--muted-dark-2); }
@media (max-width: 1000px) {
  .kl-corp { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kl { flex-basis: calc((100% - 12px) / 2); }
  .kl-logo { min-height: 96px; padding: 14px 12px; }
  .kl-corp { padding: 28px 20px; border-radius: 12px; }
  .kl-sectors { grid-template-columns: 1fr; }
}

/* Менюто: „Фирми“ води към секцията „Корпоративни клиенти“. Хедърът е до 1200 px —
   за да остане на един ред, на компютър „Проект“ е само във футъра, а под „Моята кола“ няма втори ред. */
@media (min-width: 761px) {
  .nav a.nav-proekt { display: none; }
  .nav-acct .acct-txt small { display: none; }
}
@media (min-width: 1181px) {
  .nav { column-gap: 20px; }
}
