html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Content must never depend on JavaScript or an observer to remain readable. */
.reveal,
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

h1,
h2,
h3,
p,
blockquote {
  overflow-wrap: break-word;
}

main .wrap > *,
.hero-content,
.story-copy,
.why-copy,
.contact-aside,
.inquiry-form {
  min-width: 0;
}

.why-copy > p,
.story-copy p,
.service-row p,
.contact-aside > p,
.original-commitment p {
  max-width: 70ch;
}

.principle {
  min-height: 310px;
  padding: 42px 28px 34px;
}

.principle > span {
  display: none;
}

.principle svg {
  width: 44px;
  height: 44px;
  margin: 10px auto 28px;
  color: #24c6e8;
}

.inner-hero::after {
  content: '';
  right: -48px;
  bottom: -44px;
  width: clamp(300px, 36vw, 520px);
  aspect-ratio: 256.6 / 115;
  background: url("row%20logo%20oficial%20blanco.svg") center / contain no-repeat;
  opacity: .065;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  pointer-events: none;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 600;
}

.form-status.is-success { color: #157347; }
.form-status.is-error { color: #b42318; }
.inquiry-form button:disabled { cursor: wait; opacity: .65; }

@media (max-width: 768px) {
  .hero-content,
  .inner-hero .wrap,
  .hero-content p,
  .inner-hero p {
    width: 100%;
    max-width: 100%;
  }

  .cta {
    flex-wrap: wrap;
  }

  .hero-content h1 {
    max-width: 12ch;
    font-size: clamp(38px, 10.5vw, 50px);
    line-height: 1.06;
  }

  .inner-hero h1 {
    max-width: 15ch;
    font-size: clamp(36px, 9.5vw, 46px);
    line-height: 1.08;
  }

  .section-row h2,
  .focus-header h2,
  .story-copy h2,
  .contact-aside h2,
  .original-commitment h2 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.12;
  }

  .why-copy {
    padding-top: 0;
  }

  .principle {
    min-height: 280px;
  }

  .testimonial-heading {
    font-size: clamp(30px, 8.5vw, 40px);
  }

  .inner-hero::after {
    right: -54px;
    bottom: -14px;
    width: 280px;
    opacity: .055;
  }
}

@media (max-width: 390px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero-content h1,
  .inner-hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.1;
  }

  .testimonial-slide blockquote {
    font-size: 18px;
  }

  .principle {
    min-height: 0;
    padding: 38px 26px;
  }
}
