/* Home page - measured from www.transformify.ai at 1440px */

/* Hero: full-width photo (960px), text on top */
.home-hero { position: relative; height: 960px; overflow: hidden; background: linear-gradient(#fff 48.65%, rgba(255,255,255,0) 100%); }
.home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__content { position: relative; padding-top: 50px; text-align: center; }
.home-hero__lead { margin-top: 27px; }
.home-hero__powered { margin-top: 13px; font-size: 24.6px; font-weight: 700; line-height: 1.6; }
.home-hero .btn { margin-top: 20px; width: 159px; padding: 0; }

/* Turn words into actions */
.home-words { padding: 120px 0; }
.home-words .t-lead { margin-top: 16px; }
.home-words .btn { margin-top: 29px; width: 272px; padding: 0; }

/* Transformify Automate (gray band) */
.home-automate { padding: 120px 0; }
.home-automate__sub { margin-top: 25px; }
.home-automate__head .t-h1 { margin-top: 16px; }
.home-automate__body { display: grid; grid-template-columns: minmax(0, 372px) minmax(0, 860px); justify-content: space-between; gap: 40px; margin-top: 80px; padding-left: max(20px, calc((100% - 1210px) / 2)); }
.feat { position: relative; padding-left: 62px; }
.feat + .feat { margin-top: 50px; }
.feat__icon { position: absolute; left: 0; top: 0; width: 43px; height: 43px; }
.feat h3 { margin-bottom: 24px; }
.feat p { font-size: 17px; line-height: 1.18; }
.feat__more { margin: 26px 0 0 62px; }
.home-automate__shot { align-self: start; border: 10px solid var(--text); border-right: 0; border-radius: 5px 0 0 5px; overflow: hidden; }
.home-automate__shot img { width: 100%; }

/* Testimonials slider */
.home-voices { padding: 120px 0; }
.home-voices .t-h1 { margin-top: 16px; }
.slider { position: relative; margin-top: 60px; height: 634px; overflow: hidden; background: #ede5ea; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__text { position: relative; width: 423px; margin: 120px 0 0 85px; padding: 3px 21px; }
.slide__text blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.slide__text strong { display: block; margin-top: 14px; font-size: 24px; line-height: 1.2; }
.slide__text span { display: block; margin-top: 5px; font-size: 18.4px; line-height: 1.2; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 60px; padding: 10px; background: none; border: 0; cursor: pointer; }
.slider__arrow svg { width: 18px; height: 32px; fill: var(--text); opacity: .75; }
.slider__arrow:hover svg { opacity: 1; }
.slider__arrow--prev { left: 10px; }
.slider__arrow--next { right: 16px; }
.slider__arrow--next svg { transform: scaleX(-1); }

/* Numbers */
.home-numbers { padding: 125px 0 120px; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1152px; margin: 85px auto 0; }
.numbers div { padding: 0 40px; }
.numbers p { margin-top: 7px; font-size: 17px; line-height: 1.4; color: #000; }

/* Our promise */
.home-promise { position: relative; padding: 198px 0 247px; overflow: hidden; }
.home-promise__wave { opacity: .4; position: absolute; left: 0; top: 120px; width: 100%; height: 517px; object-fit: cover; pointer-events: none; }
.home-promise__card { position: relative; max-width: 864px; margin: 0 auto; padding: 25px 45px 24px; }
.home-promise__card h2 { margin-bottom: 28px; }
.home-promise__card p { font-size: 17.6px; line-height: 1.6; }
.home-promise__card p + p { margin-top: 28px; }
.home-promise__card .btn { margin-top: 40px; width: 159px; padding: 0; }

.cta-embrace .btn { margin-top: 25px; width: 228px; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .home-automate__body { grid-template-columns: 1fr; padding-inline: 20px; }
  .home-automate__shot { border-right: 10px solid var(--text); border-radius: 5px; }
  .slide__text { margin-left: 40px; }
}
@media (max-width: 760px) {
  .home-hero { height: auto; padding-bottom: 56vw; }
  .home-hero__img { top: auto; height: 70vw; }
  .home-words, .home-automate, .home-voices { padding: 72px 0; }
  .slider { height: auto; }
  .slide { position: relative; display: none; }
  .slide.is-active { display: block; }
  .slide img { position: relative; height: 300px; }
  .slide__text { width: auto; margin: 0; padding: 24px 56px 32px; background: #ede5ea; }
  .slider__arrow { top: 150px; }
  .numbers { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .home-numbers { padding: 72px 0; }
  .home-promise { padding: 80px 0; }
  .home-promise__card { padding: 24px; }
  .cta-embrace { padding: 72px 0; }
}
