/* Testimonials page, Elevated Home Decor */

.ehd-t-hero-note {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.ehd-t-proof {
  padding: 3.25rem 0 2.5rem;
}

.ehd-t-score {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  margin: 1.75rem 0 2.25rem;
}

.ehd-t-score__card {
  flex: 1 1 16rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ehd-t-score__card:hover,
.ehd-t-score__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(196, 165, 116, 0.55);
  outline: none;
}

.ehd-t-score__num {
  font-family: var(--ehd-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ehd-t-score__stars {
  color: #e8b923;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.ehd-t-score__label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ehd-t-score__sub {
  font-size: 0.88rem;
  color: rgba(13, 13, 13, 0.62);
  margin: 0;
}

.ehd-t-score__cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6d3f;
}

.ehd-t-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ehd-t-channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ehd-t-channel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  text-decoration: none !important;
  color: inherit;
  min-height: 100%;
}

.ehd-t-channel:hover,
.ehd-t-channel:focus-visible {
  border-color: rgba(196, 165, 116, 0.55);
  outline: none;
}

.ehd-t-channel i {
  font-size: 1.25rem;
  color: #0d0d0d;
}

.ehd-t-channel--ig i { color: #0d0d0d; }
.ehd-t-channel--tt i { color: #0d0d0d; }
.ehd-t-channel--wa i { color: #128c7e; }

.ehd-t-channel strong {
  font-size: 1.05rem;
}

.ehd-t-channel span {
  font-size: 0.9rem;
  color: rgba(13, 13, 13, 0.65);
  line-height: 1.45;
}

.ehd-t-channel em {
  margin-top: auto;
  padding-top: 0.75rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6d3f;
}

.ehd-t-collab {
  padding: 3rem 0;
  background: rgba(196, 165, 116, 0.08);
}

.ehd-t-collab__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ehd-t-collab__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ehd-t-collab__card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.ehd-t-collab__card:hover,
a.ehd-t-collab__card:focus-visible {
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow: 0 8px 22px rgba(13, 13, 13, 0.08);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.ehd-t-collab__card img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
}

.ehd-t-collab__card h3 {
  font-family: var(--ehd-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: #0d0d0d;
}

.ehd-t-collab__card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(13, 13, 13, 0.72);
}

.ehd-t-feed {
  padding: 3.25rem 0 1rem;
}

.ehd-t-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 992px) {
  .ehd-t-feed__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
  }
}

.ehd-t-feed__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ebe6df;
  text-decoration: none;
}

.ehd-t-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ehd-t-feed__item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ehd-t-feed__item:hover img,
  .ehd-t-feed__item:focus-visible img {
    transform: scale(1.06);
  }

  .ehd-t-feed__item:hover span,
  .ehd-t-feed__item:focus-visible span {
    opacity: 1;
  }
}

.ehd-t-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(13, 13, 13, 0.62);
  max-width: 42rem;
}

@media (max-width: 575px) {
  .ehd-t-collab__card {
    grid-template-columns: 1fr;
  }

  .ehd-t-collab__card img {
    width: 100%;
    height: 12rem;
  }
}

/* Google reviews feed + past-customer draft helper */

.ehd-g {
  margin: 1.75rem 0 2.25rem;
  padding: 1.25rem 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
}

.ehd-g__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.ehd-g__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ehd-g__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.08);
  flex-shrink: 0;
}

.ehd-g__name {
  display: block;
  font-size: 1.05rem;
  color: #0d0d0d;
}

.ehd-g__place {
  display: block;
  font-size: 0.82rem;
  color: rgba(13, 13, 13, 0.62);
}

.ehd-g__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
}

.ehd-g__num {
  font-family: var(--ehd-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 2.35rem;
  line-height: 1;
  color: #0d0d0d;
  animation: ehd-g-pulse 2.8s ease-in-out infinite;
}

@keyframes ehd-g-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.ehd-g__stars {
  display: inline-flex;
  gap: 0.12rem;
}

.ehd-g__stars i {
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  background: #fbbc04;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.ehd-g__stars i.is-partial {
  background: linear-gradient(90deg, #fbbc04 60%, #e8e8e8 60%);
}

.ehd-g__count {
  font-size: 0.88rem;
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ehd-g__count:hover,
.ehd-g__count:focus-visible {
  color: #174ea6;
}

.ehd-g__track-wrap {
  overflow: hidden;
  margin: 0 -0.25rem 1.15rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ehd-g__track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding: 0.25rem 0.5rem 0.5rem;
  animation: ehd-g-marquee 42s linear infinite;
}

.ehd-g__track:hover,
.ehd-g__track:focus-within {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ehd-g__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .ehd-g__track-wrap {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }

  .ehd-g__num {
    animation: none;
  }
}

@keyframes ehd-g-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ehd-g-card {
  flex: 0 0 17.5rem;
  max-width: 17.5rem;
  padding: 1rem 1rem 1.05rem;
  background: #fafafa;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 2px;
}

.ehd-g-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.ehd-g-card__avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: hsl(var(--ehd-avatar-hue, 40) 42% 42%);
}

.ehd-g-card__name {
  display: block;
  font-size: 0.9rem;
  color: #0d0d0d;
  line-height: 1.25;
}

.ehd-g-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.2rem;
}

.ehd-g-card__stars {
  display: inline-flex;
  gap: 0.08rem;
}

.ehd-g-card__star {
  width: 0.72rem;
  height: 0.72rem;
  background: #e8e8e8;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.ehd-g-card__star.is-on {
  background: #fbbc04;
}

.ehd-g-card__date {
  font-size: 0.72rem;
  color: rgba(13, 13, 13, 0.55);
}

.ehd-g-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(13, 13, 13, 0.82);
}

.ehd-g-card__more {
  color: #1a73e8;
  white-space: nowrap;
}

.ehd-g__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.ehd-g__actions .btn-main {
  margin: 0;
}

.ehd-g__note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: rgba(13, 13, 13, 0.58);
  max-width: 46rem;
}

.ehd-review-helper {
  margin: 0 0 2.25rem;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: rgba(196, 165, 116, 0.08);
}

.ehd-review-helper.is-open {
  animation: ehd-helper-in 0.35s ease;
}

@keyframes ehd-helper-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ehd-review-helper__inner {
  padding: 1.35rem 1.2rem 1.45rem;
}

.ehd-review-helper__top {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.ehd-review-helper__top h3 {
  font-family: var(--ehd-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: none;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  color: #0d0d0d;
}

.ehd-review-helper__top p {
  color: rgba(13, 13, 13, 0.72);
  max-width: 36rem;
}

.ehd-review-helper__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(13, 13, 13, 0.55);
  cursor: pointer;
  padding: 0.1rem 0.35rem;
}

.ehd-review-helper__close:hover,
.ehd-review-helper__close:focus-visible {
  color: #0d0d0d;
  outline: none;
}

.ehd-review-helper__field {
  display: block;
  margin-bottom: 1rem;
}

.ehd-review-helper__field span,
.ehd-review-helper__draft span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: rgba(13, 13, 13, 0.7);
}

.ehd-review-helper__field em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(13, 13, 13, 0.45);
}

.ehd-review-helper__field input,
.ehd-review-helper__draft textarea {
  width: 100%;
  border: 1px solid rgba(13, 13, 13, 0.14);
  background: #fff;
  color: #0d0d0d;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.ehd-review-helper__field input:focus-visible,
.ehd-review-helper__draft textarea:focus-visible {
  outline: 2px solid rgba(196, 165, 116, 0.65);
  outline-offset: 1px;
}

.ehd-review-helper__services {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.ehd-review-helper__services legend {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: rgba(13, 13, 13, 0.7);
}

.ehd-review-helper__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ehd-review-helper__chips label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.12);
  font-size: 0.88rem;
  color: #0d0d0d;
  cursor: pointer;
  user-select: none;
}

.ehd-review-helper__chips label:has(input:checked) {
  border-color: rgba(196, 165, 116, 0.75);
  background: rgba(196, 165, 116, 0.16);
}

.ehd-review-helper__chips input {
  accent-color: #8a6d3f;
  width: 1rem;
  height: 1rem;
  margin: 0;
  outline: none;
  box-shadow: none;
}

.ehd-review-helper__chips input:focus,
.ehd-review-helper__chips input:focus-visible {
  outline: none;
  box-shadow: none;
}

.ehd-review-helper__gen,
.ehd-review-helper__post {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ehd-review-helper__draft {
  display: block;
  margin-bottom: 1rem;
}

.ehd-review-helper__draft textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

.ehd-review-helper__hint {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(13, 13, 13, 0.6);
}

@media (max-width: 575px) {
  .ehd-g__actions .btn-main,
  .ehd-review-helper__gen .btn-main,
  .ehd-review-helper__post .btn-main {
    width: 100%;
    text-align: center;
  }
}

/* RNH studio proof (no invented Google feed) */
.ehd-t-studio {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto 2.25rem;
  max-width: 980px;
}

@media (min-width: 900px) {
  .ehd-t-studio {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    gap: 1.75rem;
  }
}

.ehd-t-studio__card {
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.55rem;
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.05);
}

.ehd-t-studio__card h3 {
  font-family: var(--heading-font), Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0;
  color: #0d0d0d;
}

.ehd-t-studio__quotes {
  display: grid;
  gap: 0.85rem;
}

.ehd-t-studio__quotes blockquote {
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #0d0d0d;
  color: #f7f4ef;
  border-radius: 4px;
}

.ehd-t-studio__quotes blockquote p {
  margin: 0 0 0.7rem;
  font-family: var(--heading-font), Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.35;
  color: #f7f4ef;
}

.ehd-t-studio__quotes cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 165, 116, 0.95);
}

.ehd-t-channel--mail i {
  color: #a8844f;
}

.ehd-g--stories .ehd-g__icon--studio {
  display: grid;
  place-items: center;
  background: #0d0d0d;
  color: #f7f4ef;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.15rem;
}

.ehd-g__score--story {
  align-items: flex-end;
  text-align: right;
}

.ehd-g__score--story .ehd-g__num {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: none;
}

.ehd-g-card--story .ehd-g-card__date {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(13, 13, 13, 0.55);
}

@media (min-width: 900px) {
  .ehd-t-studio {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
