:root {
  --purple: #6f00ff;
  --purple-logo: #a134f6;
  --ink: #131628;
  --mist: #f4f3f7;
  --line: rgba(19, 22, 40, 0.14);
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero-section {
  position: relative;
  min-height: min(940px, 100svh);
  overflow: hidden;
  color: #fff;
  background: var(--ink) url("assets/happy-customers-hero.png") center center / cover no-repeat;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 19, .93) 0%, rgba(7, 9, 19, .68) 42%, rgba(7, 9, 19, .12) 78%),
    linear-gradient(0deg, rgba(7, 9, 19, .7) 0%, transparent 44%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -22%;
  left: -15%;
  width: 60vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(111, 0, 255, .3);
  filter: blur(130px);
}

.site-nav {
  position: relative;
  z-index: 5;
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.logo-crop {
  display: block;
  width: 190px;
  height: 68px;
  background: url("assets/yorvis-wordmark-purple.png") center 52.4% / 184% auto no-repeat;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-chip:hover { color: var(--ink); background: #fff; transform: translateY(-2px); }

.hero-content {
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: clamp(78px, 12vh, 142px) 0 82px;
}

.hero-kicker,
.section-index,
.site-footer p,
.footer-bottom {
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 700;
}

.hero-kicker span { width: 48px; height: 4px; border-radius: 99px; background: var(--purple); }

.hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(56px, 8.4vw, 132px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .82;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-content h1 em { color: #b65cff; font-style: normal; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding: 9px 10px 9px 25px;
  border-radius: 999px;
  background: var(--purple);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(111, 0, 255, .35);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-cta span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); }
.hero-cta:hover { background: #5d00d6; transform: translateY(-3px); }

.hero-side-note {
  position: absolute;
  right: -76px;
  bottom: 160px;
  margin: 0;
  transform: rotate(-90deg);
  color: rgba(255,255,255,.6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
}

.stories-section { padding: clamp(80px, 10vw, 150px) max(24px, calc((100vw - 1440px) / 2)); background: var(--mist); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.section-index { margin: 0 0 24px; color: var(--purple); font-size: 11px; font-weight: 800; }
.section-intro h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); font-weight: 800; letter-spacing: -.07em; line-height: .92; text-transform: uppercase; }
.section-intro h2 span { color: var(--purple); }
.section-copy { max-width: 420px; margin: 0; color: #626577; font-size: 15px; line-height: 1.85; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.review-card {
  position: relative;
  min-height: 410px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(19, 22, 40, .07);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.review-card:hover { transform: translateY(-8px); box-shadow: 0 26px 80px rgba(19, 22, 40, .14); }
.review-card--purple { color: #fff; border-color: var(--purple); background: var(--purple); }
.review-card--dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.quote-mark { height: 72px; color: var(--purple); font: 900 108px/.85 Georgia, serif; }
.review-card--purple .quote-mark { color: #d9b8ff; }
.review-card--dark .quote-mark { color: #a855f7; }
.review-card blockquote { margin: 30px 0 45px; font-size: clamp(17px, 1.45vw, 22px); font-weight: 500; line-height: 1.65; }
.review-card footer { margin-top: auto; display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; }
.customer-line { width: 34px; height: 3px; border-radius: 99px; background: currentColor; opacity: .35; }
.review-card cite { font-size: 14px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.verified-label { display: inline-flex; gap: 6px; align-items: center; color: #7f8394; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.review-card--purple .verified-label, .review-card--dark .verified-label { color: rgba(255,255,255,.66); }

.empty-stories { max-width: 720px; min-height: 300px; padding: 40px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 55px rgba(19,22,40,.07); }
.empty-stories p { max-width: 560px; margin: 16px 0 0; font-size: 22px; line-height: 1.6; }

.reveal-card { opacity: 0; transform: translateY(24px); }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1); }

.closing-banner {
  position: relative;
  padding: clamp(92px, 12vw, 170px) 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #5d00dc 0%, #7600ff 48%, #8f24ff 100%);
  isolation: isolate;
}

.closing-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 75%, transparent);
  content: "";
}

.closing-inner { position: relative; z-index: 2; width: min(100%, 1280px); margin: 0 auto; }
.closing-kicker { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.closing-inner > p { margin: clamp(52px, 7vw, 88px) 0 28px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .24em; }
.closing-inner h2 { margin: 0; text-align: center; font-size: clamp(58px, 9vw, 126px); font-weight: 900; letter-spacing: -.075em; word-spacing: .08em; line-height: .8; text-transform: uppercase; }
.closing-inner h2 span { display: block; white-space: nowrap; }
.closing-inner h2 span:last-child { margin-top: .24em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.92); text-stroke: 2px rgba(255,255,255,.92); }
.closing-signoff { margin-top: clamp(52px, 7vw, 88px); display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.closing-line { width: 56px; height: 2px; background: rgba(255,255,255,.72); }
.closing-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.closing-orbit--one { top: -45%; right: -12%; width: 58vw; aspect-ratio: 1; }
.closing-orbit--two { right: 8%; bottom: -65%; width: 40vw; aspect-ratio: 1; }

.site-footer {
  padding: 72px max(24px, calc((100vw - 1440px) / 2)) 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr auto;
  gap: 70px;
  color: #fff;
  background: var(--ink);
}

.logo-crop--footer { width: 180px; height: 64px; margin-bottom: 24px; }
.footer-brand > p { margin: 0; color: #a9abba; font-size: 11px; line-height: 1.75; letter-spacing: .06em; }
.footer-socials > p, .footer-whatsapp > p { margin: 8px 0 24px; color: #858898; font-size: 10px; font-weight: 700; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.social-link i { font-size: 17px; }
a.social-link:hover { color: var(--ink); background: #fff; }
.social-link--pending { opacity: .42; cursor: not-allowed; }
.whatsapp-link { min-width: 205px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform 180ms ease; }
.whatsapp-link .bi-whatsapp { color: #14a45a; font-size: 21px; }
.whatsapp-link .bi-arrow-up-right { margin-left: auto; }
a.whatsapp-link:hover { transform: translateY(-3px); }
.whatsapp-link--pending { opacity: .5; cursor: not-allowed; }
.footer-bottom { grid-column: 1 / -1; margin-top: 38px; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); color: #777a8b; font-size: 9px; }

@media (max-width: 960px) {
  .hero-section { min-height: 820px; background-position: 60% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,9,19,.92), rgba(7,9,19,.44)), linear-gradient(0deg, rgba(7,9,19,.75), transparent 50%); }
  .section-intro { grid-template-columns: 1fr; gap: 34px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-whatsapp { grid-column: 2; grid-row: 1; }
}

@media (max-width: 640px) {
  .site-nav, .hero-content { width: min(100% - 36px, 1440px); }
  .site-nav { padding: 18px 0; }
  .logo-crop { width: 150px; height: 58px; background-size: 178% auto; }
  .nav-chip { width: 42px; height: 42px; padding: 0; justify-content: center; font-size: 0; }
  .nav-chip i { font-size: 15px; }
  .hero-section { min-height: 760px; background-position: 62% center; }
  .hero-content { padding-top: 118px; }
  .hero-content h1 { font-size: clamp(52px, 16vw, 82px); }
  .hero-side-note { display: none; }
  .stories-section { padding: 78px 18px; }
  .section-intro { margin-bottom: 46px; }
  .section-intro h2 { font-size: clamp(42px, 13vw, 64px); }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 360px; padding: 30px; }
  .review-card footer { grid-template-columns: 28px 1fr; }
  .verified-label { grid-column: 2; }
  .closing-banner { padding-right: 18px; padding-left: 18px; }
  .closing-kicker { font-size: 8px; }
  .closing-inner h2 { font-size: clamp(47px, 14vw, 70px); line-height: .88; }
  .closing-inner h2 span { white-space: normal; }
  .closing-inner h2 span:last-child { -webkit-text-stroke-width: 1.2px; }
  .closing-signoff { align-items: flex-start; font-size: 9px; line-height: 1.7; }
  .closing-line { flex: 0 0 34px; margin-top: 7px; }
  .site-footer { padding: 60px 20px 24px; grid-template-columns: 1fr; gap: 42px; }
  .footer-whatsapp { grid-column: auto; grid-row: auto; }
  .footer-bottom { margin-top: 15px; gap: 16px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-card { opacity: 1; transform: none; }
}
