/* Installations map + chronology */

.eet-install-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.eet-install-stats li {
  padding: 6px 12px;
  border-radius: var(--eet-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.eet-install-map-section {
  padding: 24px 0 8px;
  background: var(--eet-bg-soft);
  border-bottom: 1px solid var(--eet-line);
}

.eet-install-section-head {
  margin-bottom: 16px;
}

.eet-install-map {
  width: 100%;
  height: min(62vh, 520px);
  min-height: 320px;
  border-radius: var(--eet-radius-lg);
  border: 1px solid var(--eet-line);
  overflow: hidden;
  box-shadow: var(--eet-shadow-md);
  background: #e8efe9;
}

.eet-install-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  padding: 24px;
  text-align: center;
  background: var(--eet-bg-soft);
}

.eet-install-map-fallback p {
  margin: 0;
  max-width: 28rem;
  font-size: 15px;
  color: var(--eet-ink-500);
}

.eet-gmaps-info {
  font-family: var(--eet-font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--eet-ink-900);
  padding: 4px 2px;
}

.eet-gmaps-info strong {
  font-size: 15px;
}

.eet-gmaps-info__types {
  color: var(--eet-ink-500);
  font-size: 12px;
}

.eet-install-timeline-section {
  padding: 28px 0 40px;
}

.eet-install-layout {
  display: grid;
  gap: 24px;
}

.eet-install-sidebar__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.eet-install-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.eet-chip {
  border: 1px solid var(--eet-line);
  background: #fff;
  color: var(--eet-ink-700);
  border-radius: var(--eet-radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--eet-ease), border-color 0.2s var(--eet-ease), color 0.2s var(--eet-ease);
}

.eet-chip:hover,
.eet-chip.is-active {
  border-color: var(--eet-green);
  background: var(--eet-green-50);
  color: var(--eet-green-dark);
}

.eet-chip__count {
  font-weight: 600;
  opacity: 0.75;
}

.eet-install-loading,
.eet-install-error {
  margin: 0;
  padding: 24px 0;
  font-size: 15px;
  color: var(--eet-ink-500);
}

.eet-install-load-more {
  margin-top: 16px;
}

.eet-install-type-filter__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--eet-ink-500);
}

.eet-install-type-filter__select {
  width: 100%;
  min-height: var(--eet-tap);
  border: 1px solid var(--eet-line);
  border-radius: var(--eet-radius-sm);
  padding: 10px 12px;
  font-family: var(--eet-font);
  font-size: 15px;
  background: #fff;
}

.eet-install-year-group {
  margin-bottom: 32px;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.eet-install-year-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.eet-install-year-group__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 8px 14px;
  border-radius: var(--eet-radius-pill);
  background: var(--eet-header-bg);
  color: #e8efe9;
  font-size: 20px;
  font-weight: 800;
}

.eet-install-year-group__count {
  font-size: 14px;
  font-weight: 600;
  color: var(--eet-ink-500);
}

.eet-install-grid {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eet-install-card {
  height: 100%;
  padding: 16px;
  border-radius: var(--eet-radius);
  border: 1px solid var(--eet-line);
  background: #fff;
  box-shadow: var(--eet-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eet-install-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.eet-install-card__city {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eet-green-dark);
}

.eet-install-card__year {
  font-size: 12px;
  font-weight: 700;
  color: var(--eet-ink-500);
}

.eet-install-card__model {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.eet-install-card__type {
  margin: 0;
  font-size: 14px;
  color: var(--eet-ink-500);
}

.eet-install-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.eet-install-card.is-highlight {
  outline: 3px solid var(--eet-yellow);
  outline-offset: 2px;
  box-shadow: var(--eet-shadow-lg);
}

.eet-install-card-wrap.is-hidden {
  display: none;
}

.eet-install-year-group.is-hidden {
  display: none;
}

.eet-install-cta {
  padding: 0 0 48px;
}

.eet-install-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--eet-radius-lg);
  background: var(--eet-green-50);
  border: 1px solid rgba(75, 162, 72, 0.25);
}

.eet-install-cta__inner p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .eet-install-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .eet-install-sidebar {
    position: sticky;
    top: 96px;
  }

  .eet-install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .eet-install-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
