/* Reviews, contact actions and editorial information polish. */
.details-heading h2 em, .reviews-heading h2 em { color: #8c745a; }
.details-heading > p:not(.eyebrow) { font-size: 14px; }

/* Keep the two long editorial headings anchored while the page scrolls.
   These sections previously combined desktop sticky positioning with the
   global reveal translation, which made the copy appear to move. */
.details-heading,
.reviews-heading {
  position: static !important;
  top: auto !important;
}

.reveal-ready .details-heading[data-reveal],
.reveal-ready .reviews-heading[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.details-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
}

.details-summary span {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid rgba(62, 61, 57, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .48);
  color: #74736f;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.details-summary b {
  display: block;
  margin-bottom: 4px;
  color: #292e2f;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.reviews { row-gap: 32px; }
.review { --avatar-ring: #b9785b; }
.review p { font-size: 14px; line-height: 1.75; }
.review h3 { font-size: 13px; line-height: 1.6; }
.review time { font-size: 12px; }
.details-content p, .details-content li { font-size: 14px; line-height: 1.8; }
.details-content small { font-size: 12px; line-height: 1.7; }
.review-terracotta { --avatar-ring: #d28a67; }
.review-olive { --avatar-ring: #6a7a61; }
.review-teal { --avatar-ring: #2e706b; }

.review .review-avatar,
.review-featured .review-avatar {
  object-position: 50% 36%;
  background: var(--avatar-ring);
  box-shadow: 0 0 0 3px var(--avatar-ring), 0 10px 24px rgba(25, 29, 29, .17);
}

.review-featured .review-avatar {
  box-shadow: 0 0 0 3px var(--avatar-ring), 0 12px 30px rgba(0, 0, 0, .24);
}

.review header > div { min-width: 0; }

.review-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(48, 94, 76, .1);
  color: #3d6957;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.review-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.review-featured .review-status {
  background: rgba(255, 255, 255, .1);
  color: #c9d8cf;
}

.review-action-panel {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(24px, 4vw, 56px);
  overflow: clip;
  margin-top: 8px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: linear-gradient(135deg, #1f2928, #343836 72%, #3b332d);
  color: #fff;
  box-shadow: 0 24px 65px rgba(31, 34, 32, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.review-action-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 139, 100, .25), transparent 67%);
  animation: reviewGlow 8s ease-in-out infinite alternate;
}

.review-action-copy { min-width: 0; }
.review-action-copy .eyebrow { margin-bottom: 15px; color: #d5b894; }

.review-action-copy h3 {
  max-width: 460px;
  margin: 0;
  font-family: Prata, Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.review-action-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 17px 0 0;
  color: #b9c0bc;
  font-size: 14px;
  line-height: 1.75;
}

.moderation-path {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
}

.moderation-path span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c7cdca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.moderation-path b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #e0c9aa;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 9px;
}

.moderation-path i { width: 18px; height: 1px; background: rgba(255, 255, 255, .16); }

.review-action-buttons { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 12px; }
.review-open { width: 100%; min-height: 56px; border-radius: 14px; background: #d8c4a5; color: #202625; font-size: 14px; }
.review-open:hover { background: #e3d0b2; }

.messenger-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.messenger-button {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, background-color .2s ease;
}

.messenger-button.whatsapp { background: rgba(45, 116, 88, .34); }
.messenger-button.max { background: rgba(97, 86, 171, .28); }
.messenger-button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .28); }
.messenger-button.whatsapp:hover { background: rgba(45, 116, 88, .5); }
.messenger-button.max:hover { background: rgba(97, 86, 171, .42); }

.messenger-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .12);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.messenger-button > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.messenger-button b { font-family: Unbounded, Manrope, sans-serif; font-size: 12px; font-weight: 600; }
.messenger-button small { color: #c5cdc9; font-size: 12px; line-height: 1.5; }
.copy-status { min-height: 18px; margin: 0; color: #cad6d0; font-size: 12px; line-height: 1.5; }
.messenger-button.is-copied { border-color: #b6c9c0; }
.messenger-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.avatar-note { grid-column: 1 / -1; padding-left: 2px; color: #777972; font-size: 12px; line-height: 1.7; }
html.review-dialog-open, html.review-dialog-open body { overflow: hidden; }
.review-dialog [hidden] { display: none !important; }

.review-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  background: #f7f3eb;
  color: #282d2d;
  box-shadow: 0 36px 100px rgba(12, 16, 15, .38);
}

.review-dialog::backdrop { background: rgba(17, 22, 21, .7); backdrop-filter: blur(8px); }
.review-dialog[open] { animation: reviewDialogIn .28s cubic-bezier(.22, 1, .36, 1); }

.review-dialog-card { position: relative; display: grid; gap: 20px; padding: clamp(26px, 5vw, 48px); }
.review-dialog-card .eyebrow { margin: 0 46px 0 0; }
.review-dialog-card h2 { max-width: 570px; font-size: clamp(38px, 6vw, 58px); }
.review-dialog-card h2 em { color: #9a7659; letter-spacing: .01em; }

.review-dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(51, 54, 52, .15);
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  color: #343938;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.review-flow { display: flex; align-items: center; gap: 9px; padding: 13px 0 20px; border-bottom: 1px solid #d8d3ca; }
.review-flow span { display: flex; align-items: center; gap: 7px; color: #757872; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.review-flow span b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #e4e0d8; font-family: Unbounded, Manrope, sans-serif; font-size: 7px; transition: background-color .2s ease, color .2s ease; }
.review-flow span.is-active { color: #2c3331; }
.review-flow span.is-active b { background: #2d3432; color: #fff; }
.review-flow span.is-done { color: #4d6c5f; }
.review-flow span.is-done b { background: #d8e2dc; color: #365647; }
.review-flow i { height: 1px; flex: 1; background: #d8d3ca; }

.review-rating { margin: 0; padding: 0; border: 0; }
.review-rating legend, .review-field > span { display: block; margin-bottom: 9px; color: #626661; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.review-rating > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; }
.review-rating input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.review-rating label { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #d8d3ca; border-radius: 12px; background: rgba(255, 255, 255, .62); color: #c2bbaa; font-size: 23px; cursor: pointer; transition: transform .16s ease, color .16s ease, border-color .16s ease, background-color .16s ease; }
.review-rating label:hover, .review-rating label:hover ~ label, .review-rating input:checked ~ label { border-color: #c09b68; background: #f3e8d6; color: #a97738; }
.review-rating label:hover { transform: translateY(-2px); }
.review-rating input:focus-visible + label { outline: 3px solid rgba(110, 87, 56, .28); outline-offset: 2px; }

.review-field input, .review-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bfc0bc;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #262c2a;
  font: 500 16px/1.6 Manrope, Arial, sans-serif;
}

.review-field input { min-height: 45px; }
.review-field textarea { min-height: 118px; padding: 8px 0 12px; resize: vertical; }
.review-field:focus-within input, .review-field:focus-within textarea { border-bottom-color: #8f7656; }
.review-field input::placeholder, .review-field textarea::placeholder { color: #a4a39e; }
.review-privacy { margin: -4px 0 0; color: #686d65; font-size: 12px; line-height: 1.6; }
.review-submit { min-height: 56px; border-radius: 14px; background: #2c3332; color: #fff; font-size: 14px; text-align: left; }
.review-submit:hover { background: #3a4341; }
.review-flow-status { min-height: 20px; margin: -4px 0 0; color: #4e6d5f; font-size: 13px; line-height: 1.6; }
.review-open:focus-visible, .messenger-button:focus-visible, .review-dialog button:focus-visible, .review-handoff:focus-visible { outline: 3px solid #b99261; outline-offset: 4px; }
.review-open:active, .messenger-button:active, .review-submit:active { transform: translateY(1px); }

@keyframes reviewGlow {
  from { transform: translate3d(-8px, 4px, 0) scale(.96); opacity: .68; }
  to { transform: translate3d(12px, -8px, 0) scale(1.06); opacity: 1; }
}

@keyframes reviewDialogIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .details-summary { grid-template-columns: 1fr; }
  .details-summary span { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .details-summary b { margin: 0; }
  .review-action-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .review header { grid-template-columns: 48px minmax(0, 1fr); }
  .review-stars { grid-column: 2; }
  .review-status { margin: 7px 0 0; }
  .review-action-panel { padding: 26px 20px; }
  .review-action-copy h3 { font-size: clamp(24px, 7.5vw, 28px); overflow-wrap: break-word; }
  .moderation-path { flex-direction: column; align-items: flex-start; gap: 10px; }
  .moderation-path span { white-space: normal; line-height: 1.35; }
  .moderation-path i { display: none; }
  .messenger-actions { grid-template-columns: 1fr; }
  .review-dialog { width: calc(100% - 20px); max-width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .review-dialog-card { gap: 17px; padding: 26px 20px 24px; }
  .review-dialog-close { top: 14px; right: 14px; }
  .review-dialog-card h2 { font-size: clamp(34px, 10.5vw, 46px); }
  .review-flow { gap: 5px; }
  .review-flow span { flex-direction: column; gap: 4px; font-size: 12px; text-align: center; }
  .review-flow i { min-width: 10px; }
  .review-rating label { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .review-action-panel::after { animation: none; }
  .review-dialog[open] { animation: none; }
  .messenger-button, .review-rating label, .review-flow span, .review-flow span b { transition: none; }
}
