/* ============================================================
   ИЦО Такси Балчик — такси специфични компоненти и анимации
   (надстройка над общия north/морски стил)
   ============================================================ */

/* ---------- Анимирано такси лого ---------- */
.brand-logo { width: 46px; height: 52px; }
.site-footer .brand-logo { width: 56px; height: 63px; }
.logo-rays { transform-origin: 26px 24px; }
.logo-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 1.6s linear infinite;
}
@keyframes wheelSpin { to { transform: rotate(-360deg); } }

/* ---------- Анимиран такси знак (ТАКСИ + шахматна лента) ---------- */
.taxi-sign {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.taxi-sign .ts-board {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--sea-deep);
  background: linear-gradient(var(--sun), var(--sun-2));
  border-radius: 8px;
  padding: 8px 14px 7px;
  position: relative;
  animation: signGlow 2.4s ease-in-out infinite;
}
.taxi-sign .ts-board::before,
.taxi-sign .ts-board::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, #151515 0 6px, var(--sun) 6px 12px);
}
.taxi-sign .ts-board::before { top: 0; border-radius: 8px 8px 0 0; }
.taxi-sign .ts-board::after { bottom: 0; border-radius: 0 0 8px 8px; }
.taxi-sign .ts-caption {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--sun);
  text-shadow: 0 2px 10px rgba(8, 51, 79, .4);
}
@keyframes signGlow {
  0%, 100% { box-shadow: 0 8px 22px -8px rgba(255, 165, 36, .55); transform: translateY(0); }
  50% { box-shadow: 0 14px 34px -6px rgba(255, 165, 36, .95); transform: translateY(-2px); }
}

/* ---------- Блестящ акцент в заглавия ---------- */
.hl-taxi {
  background: linear-gradient(100deg, var(--sun) 20%, #fff8e1 40%, var(--sun) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ---------- Такси кола, която кара по вълните в hero ---------- */
.drive-car {
  position: absolute;
  bottom: 14px;
  left: 0;
  z-index: 4;
  width: 76px;
  height: 30px;
  animation: drive 26s linear infinite;
  opacity: .95;
  pointer-events: none;
}
.drive-car svg { width: 100%; height: 100%; }
@keyframes drive {
  0% { transform: translateX(-90px); }
  100% { transform: translateX(calc(100vw + 90px)); }
}

/* ---------- Hero вариант за подстраници ---------- */
.hero.slim { min-height: clamp(360px, 52vh, 480px); }
.hero.slim .hero-inner { padding: 110px 0 120px; }

/* ---------- Услуги: карти ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin-inline: auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua);
}
.service-icon {
  width: 60px;
  height: 60px;
  margin-inline: auto;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(145deg, var(--foam), var(--sand));
  color: var(--sea);
}
.service-card h2,
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}
.service-card a { color: inherit; }
.service-card h2 a:hover,
.service-card h3 a:hover { color: var(--coral); }
.service-card p { font-size: .96rem; color: var(--body); }
.service-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--sea-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link .arr { transition: transform .25s var(--ease); }
.service-card:hover .service-link .arr { transform: translateX(5px); }

/* ---------- Контакти и форма ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 34px;
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel,
.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-panel h3,
.booking-form h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 800;
}
.contact-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--foam);
  color: var(--sea);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item strong { color: var(--ink); }
.booking-form .form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--foam);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aqua);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 179, 201, .15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #eafaf1;
  color: #1e7e34;
  font-size: .92rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- За мен ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.4; }
.about-photo .photo-badge {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 51, 79, .88);
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .86rem;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.credentials li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 1rem;
}
.credentials .ico {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--turquoise);
}
.credentials .ico svg { width: 22px; height: 22px; }

/* ---------- Стъпки (Как работи) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin-inline: auto;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--sun-2);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .94rem; }

/* ---------- Цени/мини карти в детайлни страници ---------- */
.pricelist { list-style: none; }
.pricelist li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist .pl-name { color: var(--ink); font-weight: 600; }
.pricelist .pl-price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sea-mid);
  white-space: nowrap;
}

/* ---------- Бутон за светъл фон ---------- */
.btn-outline {
  background: transparent;
  color: var(--sea-deep);
  border: 1.5px solid var(--sea);
}
.btn-outline:hover { background: var(--foam); }

/* ---------- Дребни помощни ---------- */
.reviews-widget { max-width: 1080px; margin-inline: auto; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
