
    :root {
      --primary-color: #1a365d;
      --secondary-color: #2d3748;
      --accent-color: #3182ce;
      --success-color: #38a169;
      --warning-color: #d69e2e;
      --error-color: #e53e3e;
      --bg-primary: #f7fafc;
      --bg-secondary: #edf2f7;
      --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
      --color-accent: #E10600;
    }

    .nav-link {
      color: var(--color-nav-link);
    }

    .nav-link:hover {
      color: var(--color-accent);
    }

    .text-cta {
      color: var(--color-accent);
    }

    .link-cta {
      color: var(--color-accent);
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

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

    a.nav-link.text-muted:hover {
      color: var(--color-accent);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-primary);
      color: var(--secondary-color);
      line-height: 1.6;
    }

    
.header {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      color: white;
      padding: 3rem 0;
      position: relative;
      overflow: hidden;
    }

    .header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    }

    .header-content {
      position: relative;
      z-index: 2;
    }

    .inspection-badge {
      display: inline-block;
      background: var(--success-color);
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .main-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .subtitle {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 2rem;
    }

    .car-info {
      background: rgba(255, 255, 255, 0.1);
      padding: 1.5rem;
      border-radius: 15px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .car-info h3 {
      margin-bottom: 1rem;
      font-size: 1.8rem;
    }

    .car-specs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }

    .spec-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .spec-icon {
      color: var(--success-color);
      font-size: 1.1rem;
    }

    .inspection-process {
      margin: 4rem 0;
    }

    .process-timeline {
      display: flex;
      justify-content: space-between;
      margin: 3rem 0;
      position: relative;
    }

    .process-timeline::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(to right, var(--accent-color), var(--success-color));
      z-index: 1;
    }

    .process-step {
      background: white;
      padding: 1.5rem;
      border-radius: 15px;
      box-shadow: var(--card-shadow);
      text-align: center;
      min-width: 200px;
      position: relative;
      z-index: 2;
    }

    .step-icon {
      background: var(--accent-color);
      color: white;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin: 0 auto 1rem;
    }

    .step-title {
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }

    .inspection-tabs {
      margin: 3rem 0;
    }

    .nav-tabs .nav-link {
      background: white;
      border: 2px solid transparent;
      color: var(--secondary-color);
      font-weight: 600;
      padding: 1rem 1.5rem;
      border-radius: 10px 10px 0 0;
      margin-right: 0.5rem;
      transition: all 0.3s ease;
    }

    .nav-tabs .nav-link:hover {
      background: var(--bg-secondary);
      color: var(--primary-color);
    }

    .nav-tabs .nav-link.active {
      background: var(--accent-color);
      color: white;
      border-color: var(--accent-color);
    }

    .tab-content {
      background: white;
      padding: 2rem;
      border-radius: 0 15px 15px 15px;
      box-shadow: var(--card-shadow);
    }

    .photo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .photo-item {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .photo-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--hover-shadow);
    }

    .photo-container {
      position: relative;
      overflow: hidden;
    }

    .photo-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .photo-item:hover img {
      transform: scale(1.1);
    }

    .photo-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: end;
      padding: 1rem;
    }

    .photo-item:hover .photo-overlay {
      opacity: 1;
    }

.photo-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

    .photo-zoom-icon {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.9);
      color: var(--primary-color);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .photo-item:hover .photo-zoom-icon {
      opacity: 1;
    }

    .photo-info {
      padding: 1rem;
    }

    .photo-title {
      font-weight: 600;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }

    .photo-description {
      color: #666;
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .status-badge {
      display: inline-block;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .status-good {
      background: rgba(56, 161, 105, 0.1);
      color: var(--success-color);
    }

    .status-attention {
      background: rgba(214, 158, 46, 0.1);
      color: var(--warning-color);
    }

    .status-issue {
      background: rgba(229, 62, 62, 0.1);
      color: var(--error-color);
    }

    .hero-slider {
      position: relative;
      height: 400px;
      margin: 2rem 0;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
    }

    .hero-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .hero-slide.active {
      opacity: 1;
    }

    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      color: white;
      padding: 2rem;
    }

    .slider-controls {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
    }

    .slider-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .slider-dot.active {
      background: white;
    }

    .summary-section {
      background: white;
      padding: 3rem 2rem;
      border-radius: 20px;
      box-shadow: var(--card-shadow);
      margin: 3rem 0;
    }

    .summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .summary-item {
      text-align: center;
      padding: 1.5rem;
      border-radius: 15px;
      background: var(--bg-secondary);
    }

    .summary-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .summary-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }

    .summary-description {
      color: #666;
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .main-title {
        font-size: 2rem;
      }

      .process-timeline {
        flex-direction: column;
        gap: 1rem;
      }

      .process-timeline::before {
        display: none;
      }

      .photo-grid {
        grid-template-columns: 1fr;
      }

      .car-specs {
        grid-template-columns: 1fr;
      }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Модальное окно для увеличенных фото */
    .modal-body img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .modal-content {
      border-radius: 20px;
      border: none;
    }

    .modal-header {
      border-bottom: 1px solid #e9ecef;
      border-radius: 20px 20px 0 0;
    }
