/* === Sidebar === */
.valuation-container {
  
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.evaluation-sidebar {
  position: sticky;
  top: 20px;
  z-index: 10;
}

.card-evaluation {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-evaluation-header {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 1rem;
  border-bottom: 1px solid #233240;
}

.card-evaluation-header h2 {
  margin: 0;
  font-size: 1rem;
}

.card-body {
  padding: 1rem;
}

.list-group-item {
  border: none;
  padding: 0.75rem 1rem;
  color: #2c3e50;
  transition: all 0.25s ease;
}

.list-group-item a {
  color: #131212;
  text-decoration: none;
  display: block;
}

.list-group-item:hover {
  background-color: #2c3e50;
  color: #ffffff;
}

.list-group-item:hover a {
  color: white;
}

/* === Контакты === */
.pt-0 {
  margin-top: 0.8rem;
  font-size: 1rem;
}


.contact-text-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #2c3e50;
  margin-right: 0.75rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-text a:hover .contact-text-icon {
  background-color: #2c3e50;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.contact-text a:hover {
  color: #2c3e50 !important;
}

.contact-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.contact-icon:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

/* === Локальный Hero (внутри контента) === */
.evaluation-hero-local {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.evaluation-hero-local img {
  width: 100%;
  height: 500px; /* или 400px — как хочешь */
  object-fit: cover;
  display: block;
}

.evaluation-hero-local .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem;
  background:  #2c3e50;
  color: rgb(238, 231, 231) !important;
  z-index: 2;
}


.evaluation-hero-local .title h1 {
  color: white !important;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 767.98px) {
  .evaluation-hero-local {
    height: 350px;
  }
  .evaluation-hero-local .title h1 {
    font-size: 1rem;
  }
}

/* === Введение и цели === */
.evaluation-intro {
  position: relative;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.3;
  color: #080808;
  font-weight: 400;
  text-align: justify;
}

@media (max-width: 767.98px) {
  .lead {
    font-size: 0.9rem;
    
  }
}

.evaluation-title {
  position: relative;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1.25rem;
  color: #030a11;
  font-weight: 400;
  font-size: 1.25rem;
}

.evaluation-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #2c3e50;
  border-radius: 2px;
}

.evaluation-reasons .reason-item {
  color: #161515;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-size: 1rem;
}

.reason-item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #25252b;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.reason-item:hover .reason-icon {
  background-color: #2c3e50;
  color: white;
  transform: scale(1.05);
}

@media (max-width: 767.98px) {
  .evaluation-title {
    font-size: 0.9rem;
    font-weight: 500;
  }
    .evaluation-reasons .reason-item  {
    font-size: 0.85rem;
  }
}


/* === Процесс оценки === */
.process-steps {
  counter-reset: step;
  padding: 2rem 0;
  max-width: 800px;       /* ограничивает ширину на больших экранах */
  margin: 0 auto;         /* центрирует блок по горизонтали */
  position: relative;
  width: 100%;
  justify-content: center !important;
}


/* Линия между шагами */
.process-steps::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1 !important;
}

.step-item {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0 0.5rem; 
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2c3e50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-steps::before {
    content: none;
    top: 0;
    left: 50%;
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .step-item {
    margin-bottom: 2rem;
  }

  .step-item:last-child {
    margin-bottom: 0;
  }
}

.evaluation-details {
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.detail-item h3 {
  font-weight: 600;
  color: #00060a;
}

.detail-item p {
  font-size: 1rem;
  color: #ce0b0bb4;
  font-weight: 500;
}


.btn-back-to-overview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 16px;
  color: #f6ffe7;
  background-color: #561eb1ee;
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 500;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.btn-back-to-overview:hover {
  color:  #f6ffe7;
  background-color: #3da70c;
}

.btn-back-to-overview i {
  font-size: 1rem;
}