/* ─── FEEDBACK PAGE ─── */
.fb {
  background: #f5f7fa;
}

/* ─── HERO ─── */
.fb-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1a3e 0%, #1a2a5e 100%);
  padding: 56px 0 48px;
  margin-bottom: 32px;
  overflow: hidden;
}

.fb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(251,191,36,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.fb-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.fb-hero__content {
  flex: 1;
}

.fb-hero__title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.fb-hero__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 480px;
}

.fb-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  color: #0b1a3e;
  background: #fbbf24;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fb-hero__btn::before {
  content: '+';
  font-size: 18px;
  font-weight: 700;
}

.fb-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,191,36,0.25);
}

.fb-hero__graphic {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.fb-hero__graphic svg {
  width: 100%;
  height: 100%;
}

/* ─── LAYOUT ─── */
.fb-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding-bottom: 56px;
}

.fb-main {
  min-width: 0;
}

/* ─── SUMMARY ─── */
.fb-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.fb-summary__score {
  text-align: center;
  min-width: 120px;
}

.fb-summary__number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.fb-summary__stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  font-size: 18px;
  margin-bottom: 4px;
}

.fb-summary__total {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.fb-summary__bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fb-summary__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #374151;
}

.fb-summary__label {
  width: 12px;
  font-weight: 700;
  text-align: right;
}

.fb-summary__track {
  flex: 1;
  height: 8px;
  background: #e8ecf2;
  border-radius: 999px;
  overflow: hidden;
}

.fb-summary__fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.fb-summary__value {
  width: 20px;
  font-weight: 700;
  color: #9ca3af;
  text-align: right;
}

.fb-summary__cta {
  display: none;
}

/* ─── SUMMARY CATEGORIES ─── */
.fb-summary__cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.fb-summary__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fb-summary__cat-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.fb-summary__cat-stars {
  display: flex;
  gap: 2px;
}

.fb-summary__cat-stars svg {
  width: 12px;
  height: 12px;
}

/* ─── STARS ─── */
.fb-star--filled { color: #f59e0b; }
.fb-star--empty { color: #d4d4d4; }

/* ─── TOOLBAR ─── */
.fb-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.fb-toolbar__label {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fb-toolbar__group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fb-toolbar__btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.fb-toolbar__btn:hover {
  background: #f3f4f6;
  border-color: #d4d4d4;
}

.fb-toolbar__btn--active {
  background: #0b1a3e;
  border-color: #0b1a3e;
  color: #fff;
}

/* ─── REVIEW LIST ─── */
.fb-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fb-review {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.fb-review:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  border-color: #d4d4d4;
}

.fb-review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.fb-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b1a3e, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.fb-review__meta strong {
  display: block;
  font-size: 14px;
  color: #111827;
}

.fb-review__meta span {
  font-size: 12px;
  color: #9ca3af;
}

.fb-review__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  margin-bottom: 8px;
}

.fb-review__date {
  margin-left: auto;
  font-size: 11px;
  color: #c4c4c4;
}

.fb-review__body {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 12px;
}

.fb-review__more {
  display: inline;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0b1a3e;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 4px;
}

.fb-review__more:hover { text-decoration: underline; }

.fb-review__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f0f2f5;
}

.fb-review__like-form { margin: 0; }

.fb-review__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  background: transparent;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.fb-review__action:hover {
  background: #f5f7fa;
  border-color: #d4d4d4;
  color: #374151;
}

.fb-review__action svg { width: 14px; height: 14px; }

/* ─── HIDDEN REVIEW (show more) ─── */
.fb-review--hidden {
  display: none;
}

/* ─── SHOW MORE BUTTON ─── */
.fb-show-more {
  text-align: center;
  margin-top: 20px;
}

.fb-show-more__btn {
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  color: #0b1a3e;
  background: #fff;
  border: 2px solid #0b1a3e;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.fb-show-more__btn:hover {
  background: #0b1a3e;
  color: #fff;
}

/* ─── REVIEW SUB-CATEGORIES ─── */
.fb-review__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 8px;
}

.fb-review__cat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.fb-review__cat svg {
  width: 10px;
  height: 10px;
}

.fb-empty {
  text-align: center;
  padding: 60px 0;
  color: #9ca3af;
  font-size: 14px;
}

/* ─── SIDEBAR ─── */
.fb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-sidebar__card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.fb-sidebar__title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.fb-sidebar__cars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.fb-sidebar__car {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s;
}

.fb-sidebar__car:hover { background: #f5f7fa; }

.fb-sidebar__car img {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f4f6;
  flex-shrink: 0;
}

.fb-sidebar__car strong {
  display: block;
  font-size: 12px;
  color: #111827;
}

.fb-sidebar__car span {
  font-size: 11px;
  color: #0b1a3e;
  font-weight: 700;
}

.fb-sidebar__btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0b1a3e, #1a2a5e);
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.fb-sidebar__btn:hover { opacity: 0.9; }

.fb-sidebar__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fb-sidebar__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #4b5563;
}

.fb-sidebar__contact svg {
  width: 15px;
  height: 15px;
  color: #0b1a3e;
  flex-shrink: 0;
}

.fb-sidebar__social {
  display: flex;
  gap: 8px;
}

.fb-sidebar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #6b7280;
  transition: all 0.2s;
}

.fb-sidebar__social a:hover {
  color: #fff;
  background: #0b1a3e;
}

.fb-sidebar__social svg { width: 15px; height: 15px; }

.fb-sidebar__map {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8ecf2;
}

.fb-sidebar__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── SIDE ADS (square, Google Ads style) ─── */
.fb-sidebar__ad {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 12px auto;
  background: #fff;
  border: 1px solid #e8ecf2;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: center;
}

.fb-sidebar__ad:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.fb-sidebar__ad img {
  width: 100%;
  height: auto;
  display: block;
}

.fb-sidebar__ad-label {
  display: block;
  padding: 4px 8px 6px;
  font-size: 9px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ─── MODAL ─── */
.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}

.fb-modal--open {
  visibility: visible;
  opacity: 1;
}

.fb-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.fb-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  padding: 28px 32px;
}

.fb-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.fb-modal__header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.fb-modal__close {
  font-size: 28px;
  line-height: 1;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}

.fb-modal__close:hover { color: #374151; }

.fb-modal__errors {
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 12px;
}

.fb-modal__errors p { margin: 2px 0; }

.fb-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.fb-modal__field label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.fb-modal__field input,
.fb-modal__field select,
.fb-modal__field textarea {
  padding: 10px 14px;
  font-size: 13px;
  color: #111827;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fb-modal__field input:focus,
.fb-modal__field select:focus,
.fb-modal__field textarea:focus {
  outline: none;
  border-color: #0b1a3e;
  box-shadow: 0 0 0 3px rgba(11,26,62,0.08);
}

.fb-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fb-modal__stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.fb-modal__stars input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fb-modal__stars label {
  font-size: 28px;
  color: #d4d4d4;
  cursor: pointer;
  transition: color 0.15s;
}

.fb-modal__stars input:checked ~ label,
.fb-modal__stars label:hover,
.fb-modal__stars label:hover ~ label {
  color: #f59e0b;
}

/* ─── MODAL SUB-RATINGS ─── */
.fb-modal__subs {
  margin-bottom: 16px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
}

.fb-modal__subs-title {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

.fb-modal__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fb-modal__sub:last-child { margin-bottom: 0; }

.fb-modal__sub-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  flex-shrink: 0;
}

.fb-modal__sub-stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.fb-modal__sub-stars input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fb-modal__sub-stars label {
  font-size: 20px;
  color: #d4d4d4;
  cursor: pointer;
  transition: color 0.15s;
}

.fb-modal__sub-stars input:checked ~ label,
.fb-modal__sub-stars label:hover,
.fb-modal__sub-stars label:hover ~ label {
  color: #f59e0b;
}

.fb-modal__hint {
  font-size: 11px;
  color: #9ca3af;
  margin: 4px 0 0;
}

.fb-modal__login-hint {
  padding: 10px 14px;
  background: #f5f7fa;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
}

.fb-modal__submit {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0b1a3e, #1a2a5e);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fb-modal__submit:hover { opacity: 0.9; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .fb-layout {
    grid-template-columns: 1fr;
  }
  .fb-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .fb-hero {
    padding: 36px 0 32px;
  }
  .fb-hero__title {
    font-size: 26px;
  }
  .fb-hero__graphic {
    display: none;
  }
  .fb-summary {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .fb-summary__score {
    min-width: auto;
  }
  .fb-summary__bars {
    width: 100%;
    max-width: 300px;
  }
  .fb-slider__card {
    flex: 0 0 280px;
  }
  .fb-review {
    padding: 16px;
  }
  .fb-sidebar {
    grid-template-columns: 1fr;
  }
  .fb-modal__dialog {
    padding: 24px 20px;
  }
  .fb-modal__row {
    grid-template-columns: 1fr;
  }
  .fb-hero__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fb-hero__title {
    font-size: 22px;
  }
  .fb-summary__number {
    font-size: 40px;
  }
  .fb-slider__card {
    flex: 0 0 260px;
    padding: 18px;
  }
}
