/* STO Directory Styles */

/* Map placeholder */
.sto-map {
  height: 100px;
  background: var(--bg-2);
  border: 1px solid var(--steel);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.sto-map-road {
  position: absolute;
  bottom: 36px;
  left: 40px; right: 40px;
  height: 3px;
  background: var(--steel);
}
.sto-map-fill {
  position: absolute;
  bottom: 36px;
  left: 40px;
  height: 3px;
  background: var(--accent);
}
.sto-map-marker {
  position: absolute;
  bottom: 28px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.sto-map-marker::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 4px;
}

/* Filter bar */
.sto-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--bg-2);
  border: 1px solid var(--steel);
}
.filter-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.km-range-wrapper { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.km-range-display { font-size: 13px; color: var(--fg); }
#kmMin, #kmMax { width: 200px; }
.filter-group select {
  background: var(--bg-3);
  border: 1px solid var(--steel);
  color: var(--fg);
  padding: 8px 12px;
  font-size: 13px;
  min-width: 180px;
}

/* Map link */
.map-link {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  margin-left: 8px;
  text-decoration: none;
}
.map-link:hover { text-decoration: underline; }

/* Rating */
.sto-detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.rating-stars { color: var(--accent); font-size: 18px; }
.rating-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

/* Detail image */
.sto-detail-image {
  margin-bottom: 40px;
  border: 1px solid var(--steel);
}
.sto-detail-image img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

/* Booking button */
.sto-booking { margin-bottom: 40px; }
.btn-book {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-book:hover { background: var(--accent-2); }

/* No results */
.sto-no-results {
  text-align: center;
  padding: 60px;
  color: var(--fg-muted);
  font-size: 15px;
  display: none;
}
.sto-no-results.visible { display: block; }

/* Card footer map button */
.sto-card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--steel);
  color: var(--fg-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.btn-map:hover { background: var(--accent); color: var(--bg); }
.sto-card-footer .btn-sto { width: auto; flex: 1; }
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--steel);
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s;
}
.btn-call:hover { border-color: var(--accent); color: var(--accent); }

.sto-page {
  min-height: calc(100vh - 73px);
  padding: 48px 40px 80px;
}
.sto-page .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Page header */
.sto-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 32px;
}
.sto-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sto-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.sto-header p {
  font-size: 15px;
  color: var(--fg-muted);
}

/* Card grid */
.sto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* STO Card */
.sto-card {
  background: var(--bg-2);
  border: 1px solid var(--steel);
  padding: 28px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.sto-card:hover { border-color: var(--accent); }
.sto-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sto-card-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.sto-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.sto-card-km {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.sto-card-km span { color: var(--accent); }
.sto-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  flex: 1;
}
.sto-card-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.sto-card-info-row svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--fg-muted);
}
.sto-card-info-row a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.sto-card-info-row a:hover { color: var(--accent); }
.sto-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-pill {
  background: var(--steel);
  color: var(--fg);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}
.sto-card-footer {
  margin-top: auto;
}
.sto-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.sto-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.sto-avail-dot.open { background: #22c55e; }
.sto-avail-dot.closed { background: var(--steel); }
.btn-sto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.15s;
  width: 100%;
}
.btn-sto:hover { background: var(--accent-2); color: var(--bg); }

/* Detail page */
.sto-detail-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 32px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }
.sto-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sto-detail-title-group {}
.sto-detail-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sto-detail-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.sto-detail-km {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-muted);
}
.sto-detail-km span { color: var(--accent); }
.sto-detail-badge {
  background: var(--bg-3);
  border: 1px solid var(--steel);
  padding: 12px 20px;
  text-align: right;
}
.sto-detail-badge label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.sto-detail-badge-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* Detail info grid */
.sto-detail-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--steel);
  border: 1px solid var(--steel);
  margin-bottom: 40px;
}
.sto-detail-info-cell {
  background: var(--bg-2);
  padding: 24px 28px;
}
.sto-detail-info-cell label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.sto-detail-info-cell p,
.sto-detail-info-cell a {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
}
.sto-detail-info-cell a { text-decoration: none; }
.sto-detail-info-cell a:hover { color: var(--accent); }

/* Detail services */
.sto-detail-services {
  margin-bottom: 40px;
}
.sto-detail-services label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.sto-detail-services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--steel);
  border: 1px solid var(--steel);
}
.sto-detail-services-list .service-pill {
  font-size: 13px;
  padding: 6px 14px;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-2);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
}
.service-row-name { color: var(--fg); }
.service-row-price { color: var(--accent); font-weight: 600; }
.service-row-price.muted { color: var(--fg-muted); font-weight: 400; }

/* Contact row — phone + WhatsApp side by side inside an info cell */
.sto-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--steel);
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.btn-contact:hover { background: var(--accent); color: var(--bg); }
.btn-contact svg { flex-shrink: 0; }

/* Availability calendar */
.sto-availability {
  margin-bottom: 40px;
}
.sto-availability label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--steel);
  border: 1px solid var(--steel);
}
.avail-day {
  background: var(--bg-2);
  padding: 0;
  overflow: hidden;
}
.avail-day-header {
  padding: 12px 8px;
  text-align: center;
  border-bottom: 1px solid var(--steel);
}
.avail-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.avail-day-marker {
  display: none;
}
.avail-day-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 80px;
}
.time-block {
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 2px;
  text-align: center;
  letter-spacing: 0.3px;
}
.time-block.open {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.time-block.closed {
  background: var(--bg-3);
  color: var(--fg-muted);
  border: 1px solid var(--steel);
}

/* 404 */
.sto-404 {
  text-align: center;
  padding: 80px 40px;
}
.sto-404-number {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.sto-404-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.sto-404-text {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.sto-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-sto--ghost { background: transparent; color: var(--fg); border: 1px solid var(--steel); }

/* Search input */
.sto-search-input {
  background: var(--bg-3);
  border: 1px solid var(--steel);
  color: var(--fg);
  padding: 8px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  min-width: 220px;
  outline: none;
  transition: border-color 0.15s;
}
.sto-search-input:focus { border-color: var(--accent); }
.sto-search-input::placeholder { color: var(--fg-muted); }

/* Rating on list card */
.sto-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}
.rating-star { color: var(--accent); font-size: 15px; line-height: 1; }
.rating-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

/* Booking CTA — slightly taller */
.btn-sto--book {
  padding: 13px 20px;
  font-size: 14px;
}

/* Loading skeleton */
@keyframes sto-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.sto-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sto-skeleton-card {
  background: var(--bg-2);
  border: 1px solid var(--steel);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sto-skel-line,
.sto-skel-pill,
.sto-skel-btn {
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--bg-3) 25%,
    var(--steel) 50%,
    var(--bg-3) 75%
  );
  background-size: 800px 100%;
  animation: sto-shimmer 1.4s infinite linear;
}

.sto-skel-title  { height: 22px; width: 70%; }
.sto-skel-short  { height: 14px; width: 40%; }
.sto-skel-line   { height: 14px; width: 90%; }
.sto-skel-pills  { display: flex; gap: 6px; }
.sto-skel-pill   { height: 22px; width: 80px; }
.sto-skel-btn    { height: 40px; width: 100%; margin-top: 8px; }

@media (max-width: 900px) {
  .sto-skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sto-skeleton-grid { grid-template-columns: 1fr; }
}

/* Empty-DB state */
.sto-empty {
  text-align: center;
  padding: 80px 40px;
  border: 1px dashed var(--steel);
}
.sto-empty-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.sto-empty-sub {
  font-size: 14px;
  color: var(--fg-muted);
}

/* PRICING PAGE */
.pricing-page {
  min-height: calc(100vh - 73px);
  padding: 48px 40px 80px;
}
.pricing-page .container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 32px;
}
.pricing-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.pricing-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.pricing-header p {
  font-size: 15px;
  color: var(--fg-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--steel);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-card-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-card.featured .pricing-card-tier { font-size: 12px; }

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1;
}
.pricing-card.featured .pricing-card-price { font-size: 36px; color: var(--accent); }
.pricing-card-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-muted);
}

.pricing-card-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--steel);
}
.pricing-card-features li:last-child { border-bottom: none; }
.pricing-card-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  padding: 12px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}
.pricing-cta:hover { background: var(--accent-2); }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-dialog {
  background: var(--bg-2);
  border: 1px solid var(--steel);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--accent); }

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 28px;
}

.modal-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.form-group input,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--steel);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-submit {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--accent-2); }

.form-success {
  text-align: center;
  font-size: 15px;
  color: var(--fg-muted);
  padding: 16px 0;
}

/* Mobile */
@media (max-width: 900px) {
  .sto-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .sto-detail-info { grid-template-columns: 1fr; }
  .availability-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .sto-page { padding: 32px 24px 60px; }
  .sto-grid { grid-template-columns: 1fr; }
  .sto-header h1 { font-size: 28px; }
  .sto-detail-title { font-size: 24px; }
  .sto-detail-km { font-size: 14px; }
  .availability-grid { grid-template-columns: repeat(3, 1fr); }
  .avail-day-content { min-height: 60px; }
  .sto-detail-title-row { flex-direction: column; }
  .sto-detail-badge { text-align: left; }
  .sto-404 { padding: 60px 24px; }
  .sto-404-number { font-size: 72px; }
  .sto-filters { flex-direction: column; gap: 16px; padding: 16px 20px; }
  .km-range-wrapper, #kmMin, #kmMax { min-width: 100%; width: 100%; }
  .sto-search-input, .filter-group select { width: 100%; min-width: unset; }
}

/* ==========================================================================
   MODERN DESIGN LAYER (catalog / detail / pricing) — appended last
   ========================================================================== */
.sto-header h1, .pricing-header h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.5px; }

/* Route map strip: gradient asphalt, rounded */
.sto-map {
  border-radius: var(--radius, 14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(600px 200px at 80% -40%, rgba(201, 130, 0, 0.18), transparent 60%),
    linear-gradient(180deg, #15191d, #0d0f12);
  box-shadow: var(--shadow-md, 0 8px 24px -8px rgba(16, 24, 40, 0.18));
}
.sto-map-road { background: rgba(255, 255, 255, 0.12); }
.sto-map-marker::before { box-shadow: 0 0 0 4px rgba(201, 130, 0, 0.18); }

/* Sticky, elevated filter bar */
.sto-filters {
  position: sticky;
  top: 74px;
  z-index: 20;
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(16, 24, 40, 0.08));
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.92);
}
.filter-group select, .filter-group input, .sto-search-input {
  border-radius: var(--radius-sm, 10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-group select:focus, .filter-group input:focus, .sto-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 130, 0, 0.18);
  outline: none;
}

/* Cards: rounded, soft shadow, lift, accent top bar */
.sto-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(16, 24, 40, 0.08));
  transition: transform 0.28s var(--ease, ease), box-shadow 0.28s var(--ease, ease), border-color 0.2s;
}
.sto-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #FFC24D);
  transition: width 0.35s var(--ease, ease);
}
.sto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md, 0 8px 24px -8px rgba(16, 24, 40, 0.18));
  border-color: rgba(201, 130, 0, 0.5);
}
.sto-card:hover::after { width: 100%; }

/* Pills */
.service-pill {
  border-radius: 999px;
  background: rgba(201, 130, 0, 0.10);
  color: var(--accent-2);
  border: 1px solid rgba(201, 130, 0, 0.18);
}

/* Availability pulse */
.sto-avail-dot.open {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: sto-pulse 2s infinite;
}
@keyframes sto-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Buttons: rounded, springy */
.btn-sto, .btn-book, .btn-map, .btn-call, .pricing-cta, .form-submit, .btn-contact {
  border-radius: var(--radius-sm, 10px);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sto:hover, .btn-book:hover, .pricing-cta:hover, .form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(201, 130, 0, 0.65);
}

/* Detail surfaces: rounded, soft edges */
.sto-detail-image { border-radius: var(--radius, 14px); overflow: hidden; box-shadow: var(--shadow-sm, 0 1px 3px rgba(16, 24, 40, 0.08)); }
.sto-detail-info { border-radius: var(--radius, 14px); overflow: hidden; }
.sto-detail-badge { border-radius: var(--radius-sm, 10px); }
.sto-detail-services-list, .availability-grid { border-radius: var(--radius, 14px); overflow: hidden; }
.sto-detail-description {
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--steel);
  border-radius: var(--radius, 14px);
  background: var(--bg-2);
}
.sto-detail-description p { max-width: 760px; margin-top: 8px; color: var(--fg-muted); }
.sto-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 32px;
}
.sto-photo-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm, 10px);
}

.sto-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--steel);
  background: #17212b;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.btn-directions:hover { background: #0d0f12; color: #fff; }

.service-row--rich {
  align-items: flex-start;
  gap: 16px;
}

.service-row-desc,
.service-row-meta {
  margin-top: 4px;
  color: var(--fg-muted);
  font-size: 13px;
}

.post-schedule-block {
  margin-bottom: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--steel);
}

.post-schedule-block:last-child { border-bottom: 0; }

.post-schedule-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.post-schedule-day {
  background: var(--bg-2, #f5f7f9);
  border: 1px solid var(--steel);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.post-schedule-day span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.post-schedule-day em {
  font-style: normal;
  font-size: 12px;
  color: var(--fg);
}

.sto-booking {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 800px) {
  .post-schedule-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pricing cards */
.pricing-card {
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(16, 24, 40, 0.08));
  transition: transform 0.28s var(--ease, ease), box-shadow 0.28s var(--ease, ease), border-color 0.2s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md, 0 8px 24px -8px rgba(16, 24, 40, 0.18)); }
.pricing-card.featured { box-shadow: 0 20px 50px -24px rgba(201, 130, 0, 0.55); }

/* Modal: rounded + fade/scale in */
.modal-dialog { border-radius: var(--radius, 14px); box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(16, 24, 40, 0.28)); animation: sto-modal-in 0.25s var(--ease, ease); }
@keyframes sto-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Reveal (uses global observer in footer; visible without JS) */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease, ease), transform 0.7s var(--ease, ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.sto-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.sto-grid .reveal:nth-child(3n+3) { transition-delay: 0.16s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .sto-card, .pricing-card, .btn-sto, .btn-book, .reveal, .sto-avail-dot.open, .modal-dialog { animation: none !important; transition: none !important; transform: none !important; }
  .reveal { opacity: 1; }
}

/* ==========================================================================
   DIRECTORY LAYOUT REFINEMENT
   ========================================================================== */
.sto-page {
  min-height: calc(100vh - 70px);
  padding: 38px 32px 88px;
  background:
    radial-gradient(900px 360px at 50% -180px, rgba(201, 130, 0, 0.1), transparent 70%),
    var(--bg);
}
.sto-page .container {
  width: min(1280px, 100%);
  max-width: none;
}
.sto-map {
  height: 92px;
  margin-bottom: 30px;
  background:
    radial-gradient(500px 140px at 78% 0%, rgba(201, 130, 0, 0.2), transparent 65%),
    linear-gradient(135deg, #20272e, #101317 70%);
}
.sto-map::before {
  content: 'СЕТЬ СЕРВИСОВ ДЛЯ ГРУЗОВОГО ТРАНСПОРТА';
  position: absolute;
  top: 18px;
  left: 24px;
  color: rgba(240, 237, 232, 0.72);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
}
.sto-map::after {
  content: '0 км                                      2000 км';
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: rgba(240, 237, 232, 0.48);
  font-size: 11px;
  letter-spacing: 1px;
  white-space: pre;
}
.sto-map-road,
.sto-map-fill {
  bottom: 33px;
  left: 24px;
  right: 24px;
}
.sto-map-marker { bottom: 25px; }
.sto-header {
  margin-bottom: 30px;
  padding: 0 0 24px;
}
.sto-header h1 { margin-bottom: 6px; }
.sto-header p { font-size: 14px; }

.sto-filters {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  padding: 22px;
}
.sto-filters > .filter-group:nth-child(1),
.sto-filters > .filter-group:nth-child(2),
.sto-filters > .filter-group:nth-child(3),
.sto-filters > .filter-group:nth-child(4) { grid-column: span 3; }
.sto-filters > .filter-group:nth-child(5),
.sto-filters > .filter-group:nth-child(6) { grid-column: span 2; }
.sto-filters > .filter-group:nth-child(7) { grid-column: span 4; }
.sto-filters > .filter-group:nth-child(8) { grid-column: span 2; }
.sto-filters > .filter-group:nth-child(9) {
  grid-column: span 3;
  align-self: center;
}
.sto-filters .filter-group select,
.sto-filters .filter-group input,
.sto-filters .sto-search-input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  background: #f8fafb;
}
.sto-filters .filter-group label {
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.km-range-wrapper,
#kmMin, #kmMax { width: 100%; min-width: 0; }
.km-range-wrapper { gap: 5px; }
.km-range-display { font-size: 12px; }

.sto-grid,
.sto-skeleton-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sto-card {
  min-width: 0;
  padding: 24px;
}
.sto-point-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.sto-point-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(201, 130, 0, 0.1);
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sto-card-description {
  margin-bottom: 8px;
  color: var(--fg);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .sto-filters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sto-filters > .filter-group:nth-child(-n+4) { grid-column: span 3; }
  .sto-filters > .filter-group:nth-child(5),
  .sto-filters > .filter-group:nth-child(6) { grid-column: span 2; }
  .sto-filters > .filter-group:nth-child(7) { grid-column: span 4; }
  .sto-filters > .filter-group:nth-child(8) { grid-column: span 2; }
  .sto-filters > .filter-group:nth-child(9) { grid-column: span 3; }
  .sto-grid, .sto-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sto-page { padding: 28px 18px 60px; }
  .sto-map { height: 78px; }
  .sto-map::before { left: 16px; top: 14px; font-size: 10px; }
  .sto-map::after { right: 16px; bottom: 12px; font-size: 9px; }
  .sto-map-road, .sto-map-fill { left: 16px; right: 16px; bottom: 28px; }
  .sto-map-marker { bottom: 20px; }
  .sto-filters {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .sto-filters > .filter-group,
  .sto-filters > .filter-group:nth-child(n) { grid-column: 1; }
  .sto-grid, .sto-skeleton-grid { grid-template-columns: 1fr; }
}

/* Final filter composition: readable rows instead of a sparse 12-column form. */
.sto-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.sto-filters > .filter-group:nth-child(n) {
  grid-column: span 1;
}
.sto-filters > .filter-group:nth-child(4) {
  grid-column: span 1;
}
.sto-filters > .filter-group:nth-child(5) {
  grid-column: span 2;
}
.sto-filters > .filter-group:nth-child(6) {
  grid-column: span 1;
}
.sto-filters > .filter-group:nth-child(7) {
  grid-column: span 1;
}
.sto-filters > .filter-group:nth-child(8) {
  grid-column: span 1;
}
.sto-filters > .filter-group:nth-child(10) {
  grid-column: span 1;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-sm, 10px);
  background: #f8fafb;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
}
.sto-filters > .filter-group:nth-child(10) input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--accent);
}
.sto-filters > .filter-group:nth-child(10) label {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.sto-filters .filter-group select,
.sto-filters .filter-group input,
.sto-filters .sto-search-input {
  min-height: 44px;
  font-size: 13px;
}
.sto-filters .km-range-wrapper {
  min-height: 44px;
  justify-content: end;
}
.sto-filters input[type="range"] {
  min-height: auto;
  accent-color: var(--accent);
}

@media (max-width: 1000px) and (min-width: 601px) {
  .sto-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sto-filters > .filter-group:nth-child(n) { grid-column: span 1; }
  .sto-filters > .filter-group:nth-child(5),
  .sto-filters > .filter-group:nth-child(8) { grid-column: span 2; }
}
