[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgb(212 175 55 / 48%);
  border-radius: 0.9rem;
  background: rgb(4 13 28 / 82%);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-align: center;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    filter var(--transition),
    transform var(--transition);
}

.button:hover,
.button:focus-visible {
  border-color: rgb(245 217 120 / 82%);
  box-shadow: 0 0 1.1rem rgb(212 175 55 / 20%);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.button--primary {
  border-color: rgb(245 217 120 / 78%);
  background: var(--gradient-gold);
  color: #07101d;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 32%),
    0 0.55rem 1.4rem rgb(212 175 55 / 18%);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: #020711;
  filter: brightness(1.06);
}

.button--danger {
  border-color: rgb(190 92 76 / 58%);
  background: rgb(45 14 17 / 64%);
  color: #f0b4aa;
}

.button--danger:hover,
.button--danger:focus-visible {
  border-color: rgb(240 169 156 / 82%);
  box-shadow: 0 0 1.1rem rgb(190 92 76 / 18%);
  color: #ffd7d0;
}

.button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.55;
  transform: none;
}

.hero__media .hero__whatsapp {
  position: absolute;
  right: clamp(1rem, 4%, 2.5rem);
  bottom: calc(clamp(1.75rem, 6%, 3.25rem) + 7.25rem);
  left: auto;
  z-index: var(--z-hero-location);
  width: min(27rem, 90%);
  pointer-events: auto;
  white-space: nowrap;
}

.reviews-invite {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  overflow: clip;
  border-block: 1px solid rgb(212 175 55 / 14%);
  background:
    radial-gradient(circle at 50% 0%, rgb(212 175 55 / 10%), transparent 28rem),
    linear-gradient(180deg, #030a16, #020711);
}

.reviews-invite__container {
  width: min(calc(100% - (var(--container-gutter) * 2)), 75rem);
}

.review-form-panel {
  display: grid;
  gap: 1.35rem;
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgb(212 175 55 / 44%);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgb(9 22 39 / 94%), rgb(3 10 22 / 96%)),
    var(--panel);
  box-shadow:
    inset 0 0 2rem rgb(212 175 55 / 5%),
    0 1.3rem 3rem rgb(0 0 0 / 28%),
    0 0 1.3rem rgb(212 175 55 / 9%);
}

.review-hash-target {
  position: absolute;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.review-form {
  display: grid;
  gap: 1.35rem;
}

.review-form__field {
  display: grid;
  min-width: 0;
  gap: 0.48rem;
  padding: 0;
  border: 0;
}

.review-form__field > label,
.review-form__field legend,
.review-form__label-row label {
  color: #f1e4bd;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.review-form__field small {
  color: #9fa8b5;
  font-size: 0.75rem;
  line-height: 1.55;
}

.review-form__field input[type="text"],
.review-form__field input[type="email"],
.review-form__field textarea {
  width: 100%;
  border: 1px solid rgb(212 175 55 / 30%);
  border-radius: 0.88rem;
  background: rgb(1 7 16 / 78%);
  box-shadow: inset 0 0.25rem 0.8rem rgb(0 0 0 / 20%);
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.review-form__field input[type="text"],
.review-form__field input[type="email"] {
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
}

.review-form__field textarea {
  min-height: 10rem;
  padding: 0.8rem 0.85rem;
  resize: vertical;
  line-height: 1.65;
}

.review-form__field input[type="text"]:focus,
.review-form__field input[type="email"]:focus,
.review-form__field textarea:focus {
  border-color: rgb(245 217 120 / 78%);
  background: rgb(2 9 20 / 94%);
  box-shadow:
    inset 0 0.25rem 0.8rem rgb(0 0 0 / 20%),
    0 0 0 3px rgb(212 175 55 / 12%);
  outline: 0;
}

.review-form__field [aria-invalid="true"] {
  border-color: #d98272;
  box-shadow: 0 0 0 3px rgb(217 130 114 / 12%);
}

.review-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review-form__label-row output {
  color: #aeb5bf;
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
}

.review-form__error {
  min-height: 1.15rem;
  color: #f0a99c;
  font-size: 0.75rem;
  line-height: 1.45;
}

.review-form__rating {
  align-content: start;
}

.rating-control {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: clamp(0.18rem, 1.2vw, 0.45rem);
}

.rating-control label {
  display: grid;
  width: clamp(2.55rem, 8vw, 3rem);
  min-height: clamp(2.55rem, 8vw, 3rem);
  place-items: center;
  border: 1px solid rgb(212 175 55 / 22%);
  border-radius: 50%;
  background: rgb(1 7 16 / 74%);
  color: #6e6448;
  cursor: pointer;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  line-height: 1;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    transform var(--transition);
}

.rating-control label.is-preview,
.rating-control label.is-selected {
  border-color: rgb(245 217 120 / 62%);
  color: var(--gold-light);
  text-shadow: 0 0 0.8rem rgb(245 217 120 / 48%);
}

.rating-control label:hover {
  transform: translateY(-2px);
}

.rating-control input:focus-visible + label {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.rating-control__output {
  color: #d8c995;
  font-size: 0.78rem;
  font-weight: 700;
}

.review-form__actions,
.reviews-view__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.review-form__status,
.reviews-view__status {
  min-height: 1.5rem;
  color: #aeb6c0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.review-form__status[data-state="success"] {
  color: #b9dcae;
}

.review-form__status[data-state="error"],
.reviews-view__status[data-state="error"] {
  color: #f0a99c;
}

body.reviews-open {
  overflow-x: hidden;
}

.reviews-view {
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 0%, rgb(31 65 101 / 22%), transparent 32rem),
    radial-gradient(circle at 15% 25%, rgb(212 175 55 / 6%), transparent 24rem),
    var(--background);
  color: var(--text);
}

.reviews-view__header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(212 175 55 / 25%);
  background: rgb(2 7 17 / 92%);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 24%);
  backdrop-filter: blur(14px);
}

.reviews-view__header-inner {
  display: flex;
  width: min(calc(100% - (var(--container-gutter) * 2)), 75rem);
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.reviews-view__brand {
  display: inline-flex;
  min-width: 0;
}

.reviews-view__brand img {
  width: clamp(10.5rem, 31vw, 14rem);
  height: auto;
}

.reviews-view__content {
  width: min(calc(100% - (var(--container-gutter) * 2)), 75rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.reviews-view__intro {
  width: min(100%, 48rem);
  margin-inline: auto;
  text-align: center;
}

.reviews-view__intro h1 {
  background: var(--gradient-text);
  background-clip: text;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  letter-spacing: 0.035em;
  line-height: 1.12;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reviews-view__intro > p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.reviews-view__actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.review-summary {
  display: grid;
  width: min(100%, 62rem);
  margin: clamp(2.5rem, 6vw, 4rem) auto 2rem;
  overflow: hidden;
  border: 1px solid rgb(212 175 55 / 40%);
  border-radius: 1.1rem;
  background: rgb(4 13 28 / 88%);
  box-shadow:
    inset 0 0 1.8rem rgb(212 175 55 / 5%),
    0 1rem 2.8rem rgb(0 0 0 / 24%);
}

.review-summary__score {
  display: grid;
  place-content: center;
  padding: 1.6rem;
  text-align: center;
}

.review-summary__score strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.review-summary__score > span {
  margin-top: 0.4rem;
  color: var(--gold-light);
  font-size: 1.45rem;
  text-shadow: 0 0 0.8rem rgb(245 217 120 / 40%);
}

.review-summary__score p {
  margin-top: 0.35rem;
  color: #aeb6c0;
  font-size: 0.78rem;
}

.review-distribution {
  display: grid;
  gap: 0.6rem;
  padding: 1.4rem;
  border-top: 1px solid rgb(212 175 55 / 24%);
}

.review-distribution__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.65rem;
  color: #d6c88e;
  font-size: 0.75rem;
}

.review-distribution__row strong {
  color: #aeb6c0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.review-distribution__track {
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
}

.review-distribution__track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-gold);
  box-shadow: 0 0 0.7rem rgb(212 175 55 / 28%);
  transition: width 360ms ease;
}

.reviews-view__status {
  width: min(100%, 62rem);
  margin: 0 auto 1rem;
  text-align: center;
}

.review-cards {
  display: grid;
  width: min(100%, 75rem);
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-inline: auto;
}

.review-card,
.review-empty {
  min-width: 0;
  padding: clamp(1.15rem, 3vw, 1.55rem);
  border: 1px solid rgb(212 175 55 / 32%);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgb(8 20 36 / 92%), rgb(3 10 22 / 96%)),
    var(--panel);
  box-shadow:
    inset 0 0 1.4rem rgb(212 175 55 / 4%),
    0 0.8rem 2rem rgb(0 0 0 / 20%);
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.review-card__username {
  min-width: 0;
  overflow: hidden;
  color: #f0dfad;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

.review-card__date {
  flex: 0 0 auto;
  color: #8993a0;
  font-size: 0.7rem;
  white-space: nowrap;
}


.review-card__stars {
  margin-top: 0.45rem;
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 0.65rem rgb(245 217 120 / 30%);
}

.review-card__comment {
  margin-top: 0.9rem;
  color: #d5d8dd;
  font-size: 0.9rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.review-empty {
  grid-column: 1 / -1;
  color: #b8bec7;
  line-height: 1.7;
  text-align: center;
}

.reviews-view__more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 48rem) {
  .review-summary {
    grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  }

  .review-distribution {
    border-top: 0;
    border-left: 1px solid rgb(212 175 55 / 24%);
  }

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

@media (min-width: 56rem) and (max-width: 82rem) {
  .site-nav__list {
    gap: clamp(0.4rem, 0.8vw, 0.75rem);
  }

  .site-nav__link {
    font-size: 0.75rem;
  }

  .site-nav__whatsapp {
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 55.999rem) {

  .hero__media .hero__whatsapp {
    position: relative;
    inset: auto;
    width: min(100%, 32rem);
    flex: 0 0 auto;
    white-space: normal;
  }

  .review-form__actions .button,
  .reviews-view__actions .button {
    width: 100%;
  }
}

@media (max-width: 35.999rem) {
  .hero__media .hero__whatsapp {
    width: 100%;
  }

  .reviews-view__header-inner {
    min-height: 4.85rem;
  }

  .reviews-view__header .button {
    min-height: 2.55rem;
    padding-inline: 0.75rem;
    font-size: 0.72rem;
  }

  .review-form-panel {
    padding: 1rem;
  }

  .rating-control label {
    width: 2.55rem;
    min-height: 2.55rem;
  }

  .review-card__header {
    display: grid;
    gap: 0.25rem;
  }

  .review-card__date {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .rating-control label,
  .review-distribution__track > span {
    transition: none;
  }
}
