/* Selected customer feedback, using Tantra's shared palette. */
.review-showcase-hero {
  background: linear-gradient(115deg, var(--surface-alt) 0%, var(--canvas) 100%);
  border-bottom: 1px solid var(--line);
}
.review-hero-inner {
  display: grid;
  grid-template-columns: 1.13fr .87fr;
  align-items: center;
  gap: clamp(42px, 6vw, 85px);
  max-width: var(--content);
  margin: auto;
  padding: 66px var(--gutter) 70px;
}
.review-intro h1 { margin: 20px 0 25px; font-size: clamp(43px, 4.2vw, 61px); line-height: 1.12; }
.review-intro h1 em { font-size: 1.4em; margin-top: 3px; }
.review-intro > p { max-width: 500px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.review-actions .button { padding-left: 21px; padding-right: 21px; font-size: 13px; }
.review-actions .text-link { font-size: 13px; }
.review-summary-card {
  min-width: 0;
  padding: 30px 33px 31px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 40px #00000020;
}
.review-summary-source { display: flex; align-items: center; gap: 13px; }
.review-summary-source > img { width: 54px; height: 22px; padding: 3px 5px; box-sizing: content-box; object-fit: contain; background: #ffffff; border-radius: 3px; }
.review-summary-source > span { color: var(--muted); font-size: 13px; line-height: 1.6; letter-spacing: .13em; }
.review-summary-card h2 { margin-top: 26px; font-size: 32px; line-height: 1.15; }
.review-summary-card h2 em { margin-top: 5px; font-size: 1.55em; }
.review-summary-card > p { margin-top: 21px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.review-source-links { display: flex; flex-wrap: wrap; gap: 7px 20px; margin: 22px 0 23px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-source-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 31px; font-size: 14px; color: var(--accent); }
.review-source-links a:hover { color: var(--ink); }
.review-summary-card > .text-link { font-size: 13px; }

.customer-reviews { padding-top: 70px; padding-bottom: 75px; }
.review-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.review-section-heading .eyebrow { margin-bottom: 19px; }
.review-section-heading h2 { font-size: 41px; line-height: 1.18; }
.review-section-heading h2 em { margin-top: 3px; font-size: 1.45em; }
.review-section-heading > p { padding-bottom: 7px; font-size: 14px; color: var(--muted); text-align: right; }
.review-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 29px; }
.review-filters button { min-height: 42px; padding: 9px 21px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font: 400 14px/1.5 var(--sans); transition: background .2s, border-color .2s, color .2s; }
.review-filters button:hover { border-color: var(--accent); color: var(--ink); }
.review-filters button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-accent); }
.review-filters button:disabled { cursor: default; opacity: .5; }
.customer-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 23px; }
.customer-review-card { display: flex; flex-direction: column; min-height: 275px; min-width: 0; padding: 25px 24px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 5px 24px #00000018; }
.customer-review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.review-avatar { display: flex; align-items: center; justify-content: center; flex: none; width: 39px; height: 39px; border-radius: 50%; background: var(--surface-accent); color: var(--accent); font-size: 14px; line-height: 1; font-weight: 500; }
.customer-review-person { flex: 1; min-width: 0; }
.customer-review-person h3 { font-size: 17px; line-height: 1.35; letter-spacing: 0; font-weight: 400; overflow-wrap: anywhere; }
.review-posted { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.review-date { white-space: nowrap; }
.review-source-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review-google-mark { display: block; width: 44px; height: 17px; object-fit: contain; padding: 3px 4px; box-sizing: content-box; background: #ffffff; border-radius: 3px; }
.review-facebook-mark { display: block; width: 19px; height: 19px; object-fit: contain; }
.review-source-name { color: var(--muted); font-size: 14px; line-height: 1.4; letter-spacing: .015em; }
.review-stars { display: inline-block; width: max-content; color: var(--accent); font-size: 17px; line-height: 1.3; letter-spacing: 1.7px; white-space: nowrap; }
.review-stars.is-recommendation { font-size: 14px; letter-spacing: 0; }
.customer-review-card > .review-stars { margin-bottom: 17px; }
.customer-review-card blockquote, .review-rating-only { margin: 0 0 23px; color: var(--ink); font-size: 16px; font-weight: 300; line-height: 1.85; overflow-wrap: anywhere; }
.customer-review-card blockquote { white-space: normal; text-wrap: pretty; }
.customer-review-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line); }
.customer-review-bottom > span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.customer-review-bottom > a { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); font-size: 14px; line-height: 1.6; white-space: nowrap; }
.customer-review-bottom > a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.review-showcase-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; margin-top: 31px; }
.review-showcase-note p { max-width: 780px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.review-showcase-note p + p { flex: 0 0 185px; margin-top: 0; }
.review-showcase-note a, .customer-reviews noscript a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
[data-review-empty] { padding: 32px 25px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 16px; text-align: center; }
.customer-reviews noscript p { color: var(--muted); font-size: 16px; }
.review-page-cta { padding: 66px var(--gutter) 65px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; background: var(--surface-alt); }
.review-page-cta .eyebrow { margin-bottom: 23px; }
.review-page-cta h2 { font-size: 40px; }
.review-page-cta h2 em { margin-top: 5px; font-size: 1.5em; }
.review-page-cta > p { margin: 22px auto 26px; max-width: 620px; color: var(--muted); font-size: 17px; }
.review-page-cta .quiet-phone { display: block; width: max-content; margin: 14px auto 0; }

/* The small bubble intentionally uses the same selection as the page. */
.review-bubble { position: fixed; left: 20px; bottom: 20px; right: auto; z-index: 36; width: min(250px, calc(100vw - 24px)); color: var(--ink); font: 400 14px/1.5 var(--sans); }
.review-bubble:is(:hover, :focus-within, .is-engaged) :is(.review-bubble-panel, .review-bubble-launcher) { border-color: var(--accent); }
.review-bubble-panel { position: relative; display: flex; flex-direction: column; height: 72px; overflow: hidden; border: 1px solid var(--decoration); border-radius: 9px; background: var(--surface); box-shadow: 0 7px 25px #3d25432e; }
.review-bubble-close { position: absolute; top: 1px; right: 2px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: 300 20px/1 var(--sans); }
.review-bubble-main { display: block; flex: 1; min-height: 0; padding: 4px 9px 2px; color: inherit; text-decoration: none; }
.review-bubble-person { display: flex; align-items: center; gap: 7px; padding-right: 23px; }
.review-bubble-person > .review-avatar { width: 22px; height: 22px; font-size: 13px; }
.review-bubble-identity { flex: 1; min-width: 0; }
.review-bubble-person strong { display: block; overflow: hidden; color: var(--ink); font-size: 10.5px; font-weight: 400; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; }
.review-bubble-person .review-stars { display: block; font-size: 13px; line-height: 10px; letter-spacing: .5px; }
.review-bubble-person .review-stars.is-recommendation { font-size: 13px; letter-spacing: 0; }
.review-bubble-source { display: flex; align-items: center; justify-content: center; flex: 0 0 39px; }
.review-bubble-source .review-google-mark { width: 32px; height: 11px; padding: 2px 3px; border-radius: 2px; }
.review-bubble-source .review-facebook-mark { width: 13px; height: 13px; }
.review-bubble-source .review-source-name { font-size: 13px; letter-spacing: 0; }
.review-bubble-main > p { display: block; overflow: hidden; min-height: 14px; margin: 1px 0 0; color: var(--muted); font-size: 14px; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; }
.review-bubble-main:hover > p { color: var(--ink); }
.review-bubble-bottom { display: flex; align-items: center; justify-content: space-between; flex: 0 0 25px; gap: 4px; min-height: 25px; padding: 0 5px 0 9px; border-top: 1px solid var(--line); }
.review-bubble-bottom > a { display: flex; align-items: center; min-height: 24px; color: var(--accent); font-size: 8.5px; line-height: 1.3; white-space: nowrap; }
.review-bubble-bottom > a:hover { color: var(--ink); }
.review-bubble-controls { display: flex; align-items: center; flex: none; gap: 0; }
.review-bubble-controls > span { margin-right: 4px; color: var(--muted); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.review-bubble-controls button { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: 300 20px/1 var(--sans); }
.review-bubble-controls button[data-review-pause] { font-size: 13px; }
.review-bubble button:hover { background: var(--surface-accent); color: var(--ink); }
.review-bubble button:disabled { cursor: default; opacity: .4; }
.review-bubble button:disabled:hover { background: transparent; }
.review-bubble :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.review-bubble-launcher { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 15px; border: 1px solid var(--decoration); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 6px 24px #3d25432e; font: 400 14px/1.4 var(--sans); }
.review-launcher-star { color: var(--accent); font-size: 17px; line-height: 1; }
.review-bubble.minimized { width: auto; }
.review-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.review-bubble.is-obscured, body:has(dialog[open]) .review-bubble, body:has(#mobile-nav:not([hidden])) .review-bubble { visibility: hidden; pointer-events: none; }

@media (max-width: 1000px) {
  .review-hero-inner { grid-template-columns: 1fr; gap: 33px; padding-top: 45px; padding-bottom: 48px; }
  .review-intro h1 { font-size: 48px; }
  .review-intro > p { max-width: 570px; }
  .review-summary-card { width: 100%; max-width: 620px; padding: 28px 31px; }
  .review-summary-card h2 em { display: inline-block; margin: 0 0 0 11px; }
  .customer-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
  .customer-reviews { padding-top: 57px; padding-bottom: 60px; }
  .customer-review-card { padding: 24px 23px 16px; }
  .review-showcase-note { flex-direction: column; gap: 15px; }
  .review-showcase-note p + p { flex-basis: auto; }
}

@media (max-width: 700px) {
  .review-bubble { left: 12px; right: auto; bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 600px) {
  .review-hero-inner { padding: 36px 25px 40px; gap: 31px; }
  .review-intro .eyebrow { font-size: 13px; }
  .review-intro h1 { font-size: 39px; margin: 19px 0 22px; }
  .review-intro h1 em { font-size: 1.5em; }
  .review-intro > p { font-size: 17px; line-height: 1.8; }
  .review-actions { gap: 18px; margin-top: 23px; }
  .review-actions .button { font-size: 13px; }
  .review-summary-card { padding: 25px 23px 26px; border-radius: 9px; }
  .review-summary-source { gap: 12px; }
  .review-summary-source > span { font-size: 13px; }
  .review-summary-card h2 { font-size: 31px; margin-top: 23px; }
  .review-summary-card h2 em { display: block; margin: 4px 0 0; font-size: 48px; }
  .review-summary-card > p { font-size: 16px; margin-top: 18px; }
  .review-source-links { gap: 6px 19px; margin-top: 19px; padding-top: 11px; padding-bottom: 11px; }
  .review-source-links a { min-height: 36px; font-size: 14px; }
  .review-summary-card > .text-link { font-size: 13px; }
  .customer-reviews { padding: 48px 25px 50px; }
  .review-section-heading { display: block; margin-bottom: 23px; }
  .review-section-heading .eyebrow { margin-bottom: 17px; }
  .review-section-heading h2 { font-size: 34px; }
  .review-section-heading h2 em { font-size: 55px; }
  .review-section-heading > p { margin-top: 18px; padding-bottom: 0; text-align: left; font-size: 14px; }
  .review-filters { gap: 8px; margin-bottom: 23px; }
  .review-filters button { min-height: 43px; padding: 10px 18px; font-size: 14px; }
  .customer-review-grid { grid-template-columns: 1fr; gap: 18px; }
  .customer-review-card { min-height: 245px; padding: 24px 23px 15px; }
  .customer-review-top { margin-bottom: 19px; }
  .customer-review-person h3 { font-size: 17px; }
  .review-posted { font-size: 13px; }
  .customer-review-card blockquote { font-size: 16px; }
  .customer-review-bottom > a { min-height: 40px; }
  .review-showcase-note { gap: 16px; margin-top: 26px; }
  .review-showcase-note p { font-size: 13px; line-height: 1.9; }
  .review-page-cta { padding: 51px 26px 53px; }
  .review-page-cta .eyebrow { margin-bottom: 21px; }
  .review-page-cta h2 { font-size: 34px; }
  .review-page-cta h2 em { font-size: 49px; }
  .review-page-cta > p { max-width: 360px; font-size: 16px; margin-top: 20px; }
  .review-page-cta > .button { font-size: 13px; }
}

/* Keep touch targets distinct without making the bubble dominate the page. */
@media (pointer: coarse), (max-width: 600px) {
  .review-bubble-panel { height: 88px; }
  .review-bubble-main { padding-top: 6px; padding-bottom: 3px; }
  .review-bubble-person { padding-right: 29px; }
  .review-bubble-person > .review-avatar { width: 24px; height: 24px; }
  .review-bubble-person strong { font-size: 14px; line-height: 13px; }
  .review-bubble-person .review-stars { line-height: 11px; }
  .review-bubble-main > p { margin-top: 3px; }
  .review-bubble-close { width: 32px; height: 32px; top: 1px; right: 1px; }
  .review-bubble-bottom { flex-basis: 33px; min-height: 33px; padding-right: 3px; }
  .review-bubble-bottom > a { min-height: 32px; font-size: 13px; }
  .review-bubble-controls > span { margin-right: 2px; font-size: 13px; }
  .review-bubble-controls button { width: 32px; height: 32px; font-size: 22px; }
  .review-bubble-controls button[data-review-pause] { font-size: 14px; }
  .review-bubble-launcher { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .review-filters button { transition: none; }
}

@media print {
  .review-bubble { display: none !important; }
  .customer-review-card { break-inside: avoid; box-shadow: none; }
}

/* Allow larger review text to fit the compact widget. */
.review-bubble-panel{height:auto;min-height:96px}
.review-bubble{width:min(300px,calc(100vw - 24px))}

/* Stay unobtrusive while reading; become solid when deliberately engaged. */
.review-bubble{opacity:.72;transition:opacity .2s ease}
.review-bubble.is-engaged,.review-bubble:focus-within{opacity:1}
@media(prefers-reduced-motion:reduce){.review-bubble{transition:none}}

.review-bubble:not(.is-ready){visibility:hidden;pointer-events:none}

.review-invitation{max-width:1240px;margin:0 auto;padding:36px var(--gutter);display:grid;grid-template-columns:1.2fr 1fr;gap:24px 40px;align-items:center;border-bottom:1px solid var(--line);scroll-margin-top:90px}
.review-invitation h2{font-size:clamp(27px,3vw,36px);margin:8px 0 12px}
.review-invitation p{font-size:17px;line-height:1.65;color:var(--muted)}
.review-invitation-actions p{font-size:16px;margin-top:12px}
@media(max-width:700px){.review-invitation{grid-template-columns:1fr}.review-invitation .button{width:100%}}
