/*
Theme Name: Parking NSK
Theme URI: https://parking-nsk.dev
Author: parking-nsk.dev
Description: Тема для сайта автоматических платных парковок
Version: 2.0.0
Text Domain: parking-nsk
*/

:root {
  --pnsk-dark: #1a2332;
  --pnsk-primary: #0f2742;
  --pnsk-accent: #f57c00;
  --pnsk-accent-hover: #e65100;
  --pnsk-light: #eef1f5;
  --pnsk-text: #1f2937;
  --pnsk-muted: #6b7280;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--pnsk-text);
  background: var(--pnsk-light);
}

a {
  color: var(--pnsk-primary);
  text-decoration: none;
}

a:hover {
  color: var(--pnsk-accent);
}

.top-contact {
  background: var(--pnsk-dark);
  color: #fff;
  font-size: 0.9rem;
}

.top-contact a {
  color: #fff;
}

.navbar-brand {
  font-weight: 700;
  color: var(--pnsk-primary) !important;
}

.btn-accent {
  background: var(--pnsk-accent);
  border-color: var(--pnsk-accent);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--pnsk-accent-hover);
  border-color: var(--pnsk-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-accent {
  border-color: var(--pnsk-accent);
  color: var(--pnsk-accent);
}

.btn-outline-accent:hover {
  background: var(--pnsk-accent);
  color: #fff;
}

.hero-block {
  background: linear-gradient(135deg, var(--pnsk-primary) 0%, var(--pnsk-dark) 100%);
  color: #fff;
}

.hero-block a:not(.btn) {
  color: #fff;
}

.hero-card,
.why-card,
.cta-inline,
.cta-tariffs,
.cta-box {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dde3ea;
}

.why-card,
.cta-inline,
.cta-tariffs,
.cta-box {
  padding: 1.5rem;
}

.hero-card {
  color: var(--pnsk-text);
}

.feature-icon,
.eq-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pnsk-light);
  border-radius: 10px;
  font-size: 1.25rem;
}

.section-title {
  font-weight: 700;
  color: var(--pnsk-primary);
}

.section-lead {
  color: var(--pnsk-muted);
  margin-bottom: 2rem;
}

.equipment-card {
  border: 1px solid #dde3ea;
  transition: box-shadow 0.2s ease;
}

.equipment-card:hover {
  box-shadow: 0 8px 24px rgba(15, 39, 66, 0.12);
}

.equipment-thumb {
  object-fit: contain;
  background: #f8fafc;
  padding: 1rem;
  max-height: 220px;
  width: 100%;
}

.equipment-photo {
  background: #f8fafc;
  padding: 1.5rem;
}

.equipment-placeholder-lg {
  height: 320px;
}

.price-tag {
  color: var(--pnsk-accent);
  font-weight: 700;
}

.tariffs-table thead {
  background: var(--pnsk-primary);
  color: #fff;
}

.tariffs-table th,
.tariffs-table td {
  vertical-align: middle;
}

@media (max-width: 767px) {
  .tariffs-table thead {
    display: none;
  }

  .tariffs-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    overflow: hidden;
  }

  .tariffs-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: none;
    border-bottom: 1px solid #eef1f5;
  }

  .tariffs-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--pnsk-primary);
  }

  .tariffs-table td:last-child {
    border-bottom: none;
  }
}

.cta-footer {
  background: #fff;
}

.site-footer {
  background: var(--pnsk-dark);
  color: #fff;
}

.site-footer a {
  color: #fff;
  opacity: 0.9;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.pnsk-request-form .form-label {
  font-weight: 500;
}

#pnskRequestModal .modal-content {
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 39, 66, 0.2);
}

#pnskRequestModal .modal-header {
  border-bottom-color: #e6ebf0;
}

.feature-card {
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(15, 39, 66, 0.1);
}
