.hero-section {
  position: relative;
  min-height: 47.5rem;
  overflow: hidden;
  padding-top: var(--header-height);
  background: #000;
  color: #fff;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 70%);
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 35rem;
  align-items: center;
  padding-block: 4rem;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 50rem;
}

.hero-copy .heading-1 {
  max-width: 49.375rem;
}

.hero-lead {
  max-width: 42.5rem;
  margin-top: 1.75rem;
  color: rgb(255 255 255 / 84%);
  font-size: 1.125rem;
  line-height: 1.625;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.hero-scroll-link {
  position: absolute;
  right: var(--page-gutter);
  bottom: 1.25rem;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: var(--radius-pill);
  color: #fff;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.hero-scroll-link:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--ink);
}

.hero-logos-shell {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgb(255 255 255 / 15%);
  background: rgb(0 0 0 / 45%);
  backdrop-filter: blur(4px);
}

.hero-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-logo-item {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
}

.hero-logo-item .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.logo-cuvro.logo-hero {
  max-width: 9.0625rem;
  max-height: 2.75rem;
}

.logo-arq.logo-hero {
  max-width: 9.0625rem;
  max-height: 3rem;
}

.logo-beaenvail.logo-hero {
  max-width: 10.3125rem;
  max-height: 2.25rem;
}

.logo-guapa.logo-hero {
  max-width: 10.3125rem;
  max-height: 2.75rem;
}

.logo-media-mister.logo-hero {
  max-width: 3rem;
  max-height: 2.5rem;
}

.hero-logo-label {
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 47.999rem) {
  .hero-background {
    object-position: 72% center;
  }
}

@media (max-width: 30rem) {
  .hero-copy .heading-1 {
    font-size: 2.2rem;
  }
}

.challenge-section {
  text-align: center;
}

.challenge-section h3 {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.challenge-copy {
  max-width: 56.25rem;
  margin: 1.75rem auto 0;
  color: #525252;
  font-size: 1rem;
  line-height: 1.8;
}

.challenge-copy p + p {
  margin-top: 1.5rem;
}

.challenge-copy strong {
  color: var(--ink);
}

.benefits-section,
.testimonials-section,
.cta-section {
  background: var(--surface-muted);
}

.benefits-title {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 800;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
}

.benefit-card {
  min-height: 16.875rem;
  padding: 2rem;
  background: #fff;
}

.benefit-card h3 {
  margin-top: 3.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin-top: 0.75rem;
  color: #525252;
  font-size: 0.875rem;
  line-height: 1.75;
}

.services-section {
  background: var(--ink);
  color: #fff;
}

.services-heading {
  max-width: 57.5rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.services-heading h3 {
  margin-top: 1.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.services-kicker {
  margin-top: 1rem;
  color: var(--brand);
  font-size: 1.125rem;
  font-weight: 700;
}

.services-copy {
  max-width: 51.25rem;
  margin: 1.75rem auto 0;
  color: rgb(255 255 255 / 65%);
  line-height: 1.75;
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  min-height: 25.625rem;
  padding: 2rem;
  background: #fff;
  color: var(--ink);
}

.service-card h3 {
  margin-top: 3rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.service-card ul {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
  color: #404040;
  font-size: 0.875rem;
  font-weight: 600;
}

.icon--check {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
  stroke-width: 2.5;
}

.testimonials-heading {
  max-width: 56.25rem;
  margin-inline: auto;
  text-align: center;
}

.testimonials-heading p {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: rgb(0 0 0 / 70%);
  font-weight: 600;
  line-height: 1.75;
}

.testimonial-carousel {
  position: relative;
  margin-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.testimonial-viewport {
  overflow: hidden;
  outline: none;
}

.testimonial-track {
  min-width: 0;
}

.testimonial-slide {
  display: none;
  min-width: 0;
}

.testimonial-slide:first-child {
  display: block;
}

.testimonial-carousel.is-ready .testimonial-track {
  display: flex;
  align-items: stretch;
  transition: transform 400ms ease;
}

.testimonial-carousel.is-ready .testimonial-slide {
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
}

.testimonial-card {
  display: grid;
  height: 100%;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 1.75rem;
  background: var(--ink);
  color: #fff;
}

.testimonial-logo-panel {
  display: grid;
  min-height: 12rem;
  padding: 1.75rem;
  place-items: center;
  background: #fff;
}

.testimonial-logo {
  width: 100%;
  max-width: 14.375rem;
  max-height: 9rem;
  object-fit: contain;
}

.testimonial-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote-mark {
  color: var(--brand);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1;
}

.testimonial-quote {
  margin-top: 1rem;
  color: rgb(255 255 255 / 85%);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.testimonial-author {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.testimonial-author cite {
  font-style: normal;
}

.testimonial-name,
.testimonial-role,
.testimonial-company {
  display: block;
}

.testimonial-name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

.testimonial-role {
  margin-top: 0.25rem;
  color: rgb(255 255 255 / 65%);
  font-size: 0.875rem;
  line-height: 1.5;
}

.testimonial-company {
  margin-top: 0.25rem;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
}

.verified-review {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: rgb(255 255 255 / 65%);
  font-size: 0.875rem;
  font-weight: 600;
}

.icon--verified {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
  stroke-width: 2;
}

.carousel-controls,
.carousel-dots {
  display: none;
}

.testimonial-carousel.is-ready .carousel-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  transform: translateY(50%);
}

.carousel-button {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  place-items: center;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 25px rgb(0 0 0 / 12%);
  transition: background-color 180ms ease;
}

.carousel-button:hover {
  background: var(--brand);
}

.testimonial-carousel.is-ready .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dots button {
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
  border: 1px solid #a3a3a3;
  border-radius: var(--radius-pill);
  background: #fff;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.carousel-dots button:hover {
  border-color: var(--ink);
  background: var(--brand);
}

.carousel-dots button[aria-current="true"] {
  border-color: var(--ink);
  background: var(--ink);
}

.case-studies-heading {
  max-width: 61.25rem;
  margin-inline: auto;
  text-align: center;
}

.case-studies-heading p {
  max-width: 53.75rem;
  margin: 1.75rem auto 0;
  color: #525252;
  line-height: 1.75;
}

.case-studies-grid {
  display: grid;
  gap: 2.5rem 1.25rem;
  margin-top: 3.5rem;
}

.case-logo-panel {
  position: relative;
  display: flex;
  aspect-ratio: 1.08;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-card);
  background-image: repeating-linear-gradient(135deg, transparent 0 17px, rgb(255 255 255 / 48%) 17px 18px);
}

.case-cuvro {
  background-color: var(--case-cuvro);
}

.case-arq {
  background-color: var(--case-arq);
}

.case-beaenvail {
  background-color: var(--case-beaenvail);
}

.case-guapa {
  background-color: var(--case-guapa);
}

.case-media-mister {
  background-color: var(--case-media-mister);
}

.logo-cuvro.logo-showcase {
  max-width: 10.9375rem;
  max-height: 5rem;
}

.logo-arq.logo-showcase {
  max-width: 11.25rem;
  max-height: 6rem;
}

.logo-beaenvail.logo-showcase {
  max-width: 11.875rem;
  max-height: 4rem;
}

.logo-guapa.logo-showcase {
  max-width: 11.875rem;
  max-height: 5rem;
}

.logo-media-mister.logo-showcase {
  max-width: 4rem;
  max-height: 3.5rem;
}

.brand-logo-label {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.case-company {
  margin-top: 1.5rem;
  color: #525252;
  font-size: 0.875rem;
  font-weight: 600;
}

.case-study-card h3 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.cta-grid {
  display: grid;
  gap: 3rem;
}

.cta-grid .heading-2 {
  max-width: 56rem;
}

.cta-content > p:first-child {
  color: #525252;
  line-height: 1.8;
}

.cta-content .primary-link {
  margin-top: 2rem;
}

.faq-section .heading-2 {
  text-align: center;
}

.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--ink);
}

.faq-item {
  padding-block: 0.25rem;
  border-bottom: 1px solid #d4d4d4;
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  color: #9b8100;
}

.faq-toggle {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--brand);
  transition: transform 180ms ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
}

.faq-item > p {
  max-width: 48rem;
  padding: 0 3rem 1.75rem 0;
  color: #525252;
  font-size: 0.875rem;
  line-height: 1.8;
}

@media (min-width: 40rem) {
  .hero-lead {
    font-size: 1.25rem;
  }

  .hero-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-logo-item {
    min-height: 6rem;
  }

  .hero-logo-label,
  .brand-logo-label {
    font-size: 1rem;
  }

  .challenge-section h3 {
    font-size: 1.5rem;
  }

  .challenge-copy {
    font-size: 1.125rem;
  }

  .benefits-title {
    font-size: 1.25rem;
  }

  .benefit-card,
  .service-card {
    padding: 2.5rem;
  }

  .services-heading h3,
  .service-card h3 {
    font-size: 1.875rem;
  }

  .testimonial-card {
    padding: 4rem 3rem;
  }

  .testimonial-logo-panel {
    min-height: 14rem;
  }

  .testimonial-quote {
    font-size: 1.125rem;
  }

  .carousel-button {
    width: 4rem;
    height: 4rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-item summary {
    font-size: 1.125rem;
  }

  .faq-item > p {
    font-size: 1rem;
  }
}

@media (min-width: 48rem) {
  .benefits-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .hero-section {
    min-height: 51.25rem;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(0 0 0 / 97%) 0%, rgb(0 0 0 / 86%) 34%, rgb(0 0 0 / 22%) 72%, rgb(0 0 0 / 20%) 100%);
  }

  .hero-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero-logo-item {
    min-height: 7rem;
    padding-inline: 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-card {
    grid-template-columns: 17.5rem 1fr;
    gap: 4rem;
    padding-inline: 5rem;
  }

  .testimonial-logo-panel {
    min-height: 16rem;
  }

  .testimonial-logo {
    max-height: 11rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cta-content {
    padding-left: 4rem;
    border-left: 1px solid #d4d4d4;
  }
}

@media (min-width: 80rem) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-card {
    padding-inline: 6rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
