/* Review iteration after palette commit b78233b. No new interaction or animation. */

/* Small section captions establish rhythm without extra decorative rules. */
.section-kicker,.section-heading .blue-eyebrow,.page-section>.blue-eyebrow{
  display:flex;align-items:center;gap:10px;color:var(--blue);
  font-size:13px;font-weight:500;line-height:1.5;letter-spacing:.06em;
  margin-bottom:12px;
}

/* Content-driven cards retain their original actions and a compact badge. */
.product-card{position:relative;min-height:0}
.product-badge{display:inline-flex;align-items:center;gap:8px}
.product-badge::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.hero-benefits::before{content:none}

/* The existing three stages become one connected sequence with no new claims. */
.steps-grid{gap:20px;position:relative;isolation:isolate}
.steps-grid::before{content:"";position:absolute;top:40px;left:10%;right:10%;height:1px;background:var(--border-strong);z-index:-1}
.steps-grid>article{min-width:0;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface-gradient);box-shadow:var(--card-shadow)}
.step-number{height:auto;margin-bottom:20px}
.step-number::after{display:none}
.step-number span{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:0;background:var(--primary-gradient);color:#fff;box-shadow:var(--button-shadow);font-size:15px}

/* Manual carousel: arrows, keyboard and swipe, without autoplay or moving layers. */
.review-carousel{position:relative;margin-top:calc(56px * var(--desktop-density))}
.review-carousel .featured-review{margin:0;padding-inline:calc(88 * var(--u))}
.review-carousel blockquote{font-size:clamp(22px,2vw,34px);line-height:1.4;min-height:7em;overflow-wrap:anywhere}
.review-carousel figcaption{margin-top:calc(40 * var(--u));gap:10px}
.featured-review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:24px}
.featured-review-actions .button{min-height:44px;padding:10px 16px;font-size:16px}
.featured-review-actions>a{color:var(--blue);font-size:16px}
.review-carousel-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px}
.review-carousel-status{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.review-carousel-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;padding:0;border:1px solid var(--border-strong);border-radius:50%;background:var(--secondary-gradient);color:var(--blue);font:32px/1 Arial,sans-serif;cursor:pointer}
.review-carousel-arrow:hover{background:var(--secondary-hover)}
.review-carousel:focus-visible{outline:2px solid var(--focus);outline-offset:6px;border-radius:24px}
@media(min-width:701px){
  .review-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%)}
  .review-carousel-previous{left:calc(16 * var(--u))}
  .review-carousel-next{right:calc(16 * var(--u))}
}

@media(min-width:1101px){
  .contact-intro{min-height:calc(724 * var(--u))}
  .contact-intro .split-copy{padding-block:calc(32 * var(--u))}
  .contact-visual .operator-illustration{right:0;bottom:calc(-100 * var(--u));width:144%;height:calc(105% + 100 * var(--u))}
  .hero-actions,.hero-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:calc(660 * var(--u) + 24px * var(--desktop-density));max-width:100%;gap:calc(24px * var(--desktop-density))}
  .hero-actions .button{width:100%;min-width:0}
  .hero-benefits{margin-top:calc(24 * var(--u));align-items:start}
  .page-section,.products-section{margin-top:calc(80 * var(--u))}
  .company-section,.reviews-section{margin-top:calc(72 * var(--u))}
  .products-grid,.reviews-grid,.partners-grid,.audience-grid,.steps-grid{margin-top:calc(32 * var(--u))}
  .product-description{min-height:calc(72 * var(--u))}
}
@media(max-width:1100px){
  :root{--responsive-section-gap:clamp(28px,4.5vw,40px)}
  .steps-grid::before{display:none}
}
@media(max-width:700px){
  .review-carousel .featured-review{padding:24px 20px}
  .review-carousel blockquote{font-size:20px;min-height:0}
  .review-carousel figcaption{margin-top:24px;font-size:19px}
  .featured-review-actions{align-items:flex-start;flex-direction:column;gap:14px}
  .featured-review-actions .button{width:100%}
  .section-kicker,.section-heading .blue-eyebrow,.page-section>.blue-eyebrow{font-size:12px;margin-bottom:10px}
  .steps-grid>article{padding:20px}
  .steps-grid{gap:16px}
}
.preview-dialog[data-kind="review"][open] {
  --review-inset: clamp(20px, 5vw, 64px);
  --review-column: 100%;
  display: flex;
  flex-direction: column;
  width: min(88vw, 1680px);
  max-width: none;
  height: 82vh;
  height: 82dvh;
  max-height: none;
  padding: clamp(56px, 4vw, 72px) 0 24px;
  overflow: hidden;
}

.preview-dialog[data-kind="review"] > .dialog-close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  font-size: 24px;
}

.preview-dialog[data-kind="review"] > :is(.dialog-eyebrow, h2) {
  width: min(var(--review-column), calc(100% - 2 * var(--review-inset)));
  margin-inline: auto;
  padding: 0;
  overflow-wrap: anywhere;
}

.preview-dialog[data-kind="review"] > h2 {
  font-size: clamp(22px, 2.25vw, 34px);
}

.preview-dialog[data-kind="review"] > #dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 18px;
  padding: 0 var(--review-inset) 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

.review-dialog-content {
  max-width: var(--review-column);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.preview-dialog[data-kind="review"] > .dialog-done {
  display: none;
}

@media screen and (min-width: 1101px) {
  .preview-dialog[data-kind="review"][open] { zoom: 1.25; }
}

@media (max-width: 700px) {
  .preview-dialog[data-kind="review"][open] {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    padding-bottom: 14px;
  }
}
