/**
 * Feedback page — hero, star rating widget, recommend pills, review CTA
 */

body.page-feedback #main {
  overflow-x: hidden;
}

/* Hero — same gradient treatment as the city landing pages, no side cards */
.feedback-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(150deg, #0b0a88 0%, #131094 45%, #1b9ba3 120%);
  color: #ffffff;
  text-align: center;
}

.feedback-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 15%, rgba(85, 209, 203, 0.28) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.feedback-hero__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.feedback-hero__breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.feedback-hero__breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.4);
}

.feedback-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.feedback-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.feedback-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.feedback-hero__tagline {
  margin: 0 auto;
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.feedback-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin: 1.75rem auto 0;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  width: fit-content;
}

.feedback-hero__trust-item {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.feedback-hero__trust-item strong {
  font-size: 1rem;
  color: #ffffff;
}

.feedback-hero__trust-stars {
  color: #ffc94d;
  letter-spacing: 1px;
  font-size: 0.8125rem;
}

.feedback-hero__trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
  .feedback-hero__trust {
    border-radius: 18px;
    padding: 0.85rem 1.1rem;
  }
}

/* Form panel */
.feedback-panel {
  max-width: 42rem;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 20px 50px rgba(11, 10, 136, 0.1);
  border: 1px solid rgba(11, 10, 136, 0.06);
}

.feedback-panel__note {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Star rating — accessible radio-button widget, pure CSS hover/checked state */
.star-rating {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: center;
}

.star-rating legend {
  display: block;
  width: 100%;
  margin-bottom: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.star-rating__stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.star-rating__stars input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Facial-emoji mood picker — each rating gets its own emoji + sentiment color,
   instead of a cumulative star fill. */
.star-rating__mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 4.5rem;
  padding: 0.65rem 0.4rem 0.55rem;
  border-radius: 14px;
  background: #f4f5f9;
  cursor: pointer;
  filter: grayscale(0.7);
  opacity: 0.65;
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.star-rating__mood-emoji {
  font-size: 2rem;
  line-height: 1;
}

.star-rating__mood-text {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.star-rating__mood:hover,
.star-rating__stars input:checked + .star-rating__mood {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px) scale(1.06);
}

.star-rating__stars input:focus-visible + .star-rating__mood {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.star-rating__mood--1:hover, .star-rating__stars input:checked + .star-rating__mood--1 { background: rgba(220, 53, 69, 0.16); }
.star-rating__mood--2:hover, .star-rating__stars input:checked + .star-rating__mood--2 { background: rgba(232, 121, 33, 0.16); }
.star-rating__mood--3:hover, .star-rating__stars input:checked + .star-rating__mood--3 { background: rgba(232, 185, 35, 0.18); }
.star-rating__mood--4:hover, .star-rating__stars input:checked + .star-rating__mood--4 { background: rgba(140, 198, 63, 0.18); }
.star-rating__mood--5:hover, .star-rating__stars input:checked + .star-rating__mood--5 { background: rgba(46, 160, 67, 0.18); }

@media (max-width: 420px) {
  .star-rating__mood {
    width: 3.9rem;
  }

  .star-rating__mood-emoji {
    font-size: 1.65rem;
  }
}

/* Recommend — Yes / No pill toggle (styled radios) */
.recommend-pills {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.recommend-pills legend {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.recommend-pills__options {
  display: flex;
  gap: 0.75rem;
}

.recommend-pills__options input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.recommend-pills__options label {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.recommend-pills__options input:checked + label {
  border-color: var(--navy);
  background: rgba(11, 10, 136, 0.06);
  color: var(--navy);
}

.recommend-pills__options input:focus-visible + label {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* Testimonial permission checkbox — same visual language as .form-consent */
.feedback-permission {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(85, 209, 203, 0.08);
  border: 1px solid rgba(85, 209, 203, 0.3);
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}

.feedback-permission input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--teal-dark);
}

/* Neutral, non-gated review CTA below the form — shown to every visitor
   regardless of what they rated, so it never functions as review-gating. */
.feedback-review-cta {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(11, 10, 136, 0.03);
  border: 1px dashed rgba(11, 10, 136, 0.18);
}

.feedback-review-cta h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.feedback-review-cta p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feedback-review-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  background: linear-gradient(135deg, #0b0a88, #1b9ba3);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 10, 136, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feedback-review-cta a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 10, 136, 0.26);
}
