/* ── 4. Hero → calmer first viewport ──────────────────────────────────── */
.hero-section {
  min-height: auto;
  padding: clamp(7.5rem, 10vw, 9.5rem) 0 clamp(4.25rem, 7vw, 6.25rem);
}

.hero-grid {
  gap: clamp(2rem, 4.5vw, 4rem);
}

.hero-bg-img {
  background-image: url('../../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .78;
  filter: saturate(1.02) contrast(1.03);
}

.hero-overlay-drk {
  background:
    linear-gradient(100deg, rgba(3, 8, 20, .82), rgba(3, 8, 20, .5) 42%, rgba(3, 8, 20, .18) 70%, rgba(3, 8, 20, .3)),
    rgba(3, 8, 20, .1);
}

.hero-overlay-glow {
  opacity: .38;
}

.hero-copy {
  max-width: 43rem;
  gap: 1.15rem;
}

.hero-copy .cta-eyebrow {
  color: #d7e6ff;
  background: rgba(0, 88, 251, .2);
  border-color: rgba(127, 176, 255, .38);
}

.hero-badge {
  box-shadow: none;
  background: rgba(255, 255, 255, .08);
}

.hero-title-size {
  max-width: 26ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  word-spacing: 0;
  text-wrap: balance;
}

.hero-title-accent {
  color: var(--primary);
}

.hero-subtitle {
  max-width: 39rem;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: hsl(213, 31%, 88%);
  font-size: clamp(1.08rem, .68vw + .96rem, 1.22rem);
  line-height: 1.66;
  font-weight: 600;
}

.hero-meta-line {
  margin: -.35rem 0 .1rem;
  color: rgba(215, 230, 255, .86);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.hero-cta {
  margin-top: .35rem;
}

.hero-cta .cta-btn-row {
  justify-content: flex-start;
}

.hero-dl-btn {
  box-shadow: 0 22px 46px rgba(0, 88, 251, .32);
}

.hero-secondary-link-wrap {
  margin-top: .85rem;
}

.hero-secondary-link {
  color: #d7e6ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.hero-visual {
  filter: none;
  align-self: center;
}

.hero-art-card {
  position: relative;
  width: min(100%, 28rem);
  margin: 0 auto;
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .06);
  box-shadow:
    0 32px 78px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(1deg);
}

.hero-art-card::before {
  content: '';
  position: absolute;
  inset: -1.25rem;
  z-index: -1;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 88, 251, .16), transparent 34%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, .08), transparent 36%);
  filter: blur(18px);
  opacity: .7;
}

.hero-art-card::after {
  content: '';
  position: absolute;
  inset: .5rem;
  z-index: 1;
  border-radius: .75rem;
  background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 24%, rgba(0,0,0,.18));
  pointer-events: none;
}

.hero-art-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: .75rem;
}

.hero-art-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.45rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
  background: rgba(4, 11, 24, .78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  font-size: .95rem;
  font-weight: 800;
}

.hero-art-chip--top {
  top: 1rem;
  right: 1rem;
}

.hero-art-chip--top svg {
  color: var(--primary);
}

.hero-art-chip--middle {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.hero-art-chip--middle svg {
  color: var(--primary);
}

.hero-art-chip--bottom {
  left: 1rem;
  bottom: 1rem;
}

.hero-art-chip--bottom span {
  color: var(--primary);
}

@media (max-width: 1023px) {
  .hero-art-card {
    width: min(100%, 24rem);
  }
}

@media (max-width: 520px) {
  .hero-section {
    padding-top: 4.15rem;
  }

  .hero-art-card {
    width: min(100%, 20rem);
  }

  .hero-art-chip {
    position: static;
    width: calc(100% - 1rem);
    justify-content: center;
    margin: .55rem auto 0;
  }

  .hero-art-chip--middle {
    transform: none;
  }
}

@media (max-width: 420px) {
  body.home .wp-container {
    padding-left: .5rem;
    padding-right: .5rem;
  }

}

@media (max-width: 820px) {
  body.home .wp-container {
    padding-left: .75rem;
    padding-right: .75rem;
  }

}

/* ── Payment flow intro ──────────────────────────────────────────────── */
.hiw-site-intro {
  max-width: 39rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hiw-site-intro p {
  margin: 0 0 1.15rem;
  color: hsl(217, 24%, 20%);
  font-size: clamp(1.06rem, .65vw + .94rem, 1.18rem);
  line-height: 1.72;
  font-weight: 600;
}

.hiw-site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.8rem;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: .98rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 640px) {
  .section-h2,
  .section-h2-md,
  .section-h2-lg,
  .cta-h3 {
    line-height: 1.12;
  }

  .section-h2 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }

  .section-h2-md,
  .section-h2-lg {
    font-size: clamp(1.9rem, 9.5vw, 2.45rem);
  }

  .hero-title-size {
    max-width: 18ch;
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 1.06rem;
    line-height: 1.68;
  }

  .hero-cta .cta-btn-row {
    justify-content: center;
  }

  .cta-h3 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .hero-dl-btn,
  .install-dl-btn,
  .cta-dl-btn,
  .cta-wa-btn {
    font-size: .95rem;
  }
}

/* ── 5. Reviews → balanced proof cards ────────────────────────────────── */
.social-section .section-header {
  max-width: 54rem;
}

.social-section-h2 {
  max-width: 46rem;
}

.social-text-dim {
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .reviews-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1120px) {
  .reviews-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-card {
  min-height: auto;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  border: 1px solid hsl(220, 20%, 88%);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, hsl(210, 40%, 98%));
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  isolation: isolate;
}

.review-card::before,
.review-card::after {
  display: none;
}

.review-card__accent {
  display: none;
}

.review-card__topline,
.review-card__title,
.review-card__text,
.review-card__header,
.review-card__stat {
  padding-left: 0;
}

.review-card__topline {
  align-items: center;
  margin-bottom: 1rem;
}

.review-card__tag {
  min-height: 1.7rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .86rem;
  text-transform: none;
  color: hsl(217, 28%, 22%);
  background: hsl(210, 35%, 96%);
}

.review-card__topline svg {
  color: hsl(42, 92%, 52%);
}

.review-card__title {
  max-width: none;
  margin-bottom: .8rem;
  font-size: clamp(1.16rem, .75vw + 1rem, 1.3rem);
  line-height: 1.34;
  font-weight: 800;
}

.review-card__text {
  margin-bottom: 1.5rem;
  color: hsl(217, 24%, 20%);
  font-size: 1rem;
  line-height: 1.72;
}

.review-card__header {
  margin: auto 0 1rem;
}

.review-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: #0058fb;
  color: #fff;
}

.review-card__stat {
  justify-content: flex-start;
  gap: .5rem;
  padding-top: .85rem;
}

.review-stat-val {
  font-weight: 800;
  color: #0058fb;
}

.review-stat-unit {
  color: hsl(215, 18%, 34%);
}

@media (max-width: 520px) {
  .review-card__topline,
  .review-card__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── 6. Final CTA → compact action panel ─────────────────────────────── */
.cta-section {
  padding: clamp(3.5rem, 6vw, 5.25rem) 0;
  text-align: left;
}

.cta-section .wp-container {
  max-width: 76rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 88, 251, .07), transparent 42%),
    rgba(255, 255, 255, .035);
}

.cta-h3 {
  max-width: 16ch;
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.12;
  font-weight: 800;
  text-transform: none;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .42rem .7rem;
  border: 1px solid rgba(0, 88, 251, .28);
  border-radius: 999px;
  background: rgba(0, 88, 251, .12);
  color: #7fb0ff;
  font-size: clamp(.98rem, .35vw + .9rem, 1.12rem);
  line-height: 1.25;
  font-weight: 800;
  text-transform: none;
}

.cta-subtitle {
  max-width: 43rem;
  margin: 0;
  color: hsl(215, 22%, 84%);
  font-size: clamp(1.05rem, .55vw + .94rem, 1.16rem);
  line-height: 1.72;
}

.cta-actions {
  display: grid;
  gap: .85rem;
  justify-items: stretch;
}

.cta-dl-btn,
.cta-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 4.15rem;
  padding: 1rem 1.45rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.cta-dl-btn {
  height: auto;
  color: #fff;
}

.cta-wa-btn {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.cta-wa-btn svg {
  color: #7aa8ff;
}
.cta-wa-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
}

@media (max-width: 820px) {
  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-h3,
  .cta-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}
