.site-main--home {
  background: var(--bg);
  overflow: hidden;
}

.cs-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: calc(100vh - 120px - 59px);
  padding-top: 110px;
  /* padding-bottom: 60px; */
}

.cs-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 40px;
}

/* Service pills */
.cs-services {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
}

.cs-services__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.01em;
  color: #2F3133;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 16.8px; /* 120% */
}

.cs-services__icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.cs-services__icon--web  { background-image: url('../img/icons-services/website-design.svg'); }
.cs-services__icon--host { background-image: url('../img/icons-services/hosting.svg'); }
.cs-services__icon--seo  { background-image: url('../img/icons-services/seo.svg'); }
.cs-services__icon--mkt  { background-image: url('../img/icons-services/marketing.svg'); }

/* Headline + subtitle */
.cs-hero__headline {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink-dark);
}

.cs-hero__subtitle {
  margin: 24px 0 0;
  /* max-width: 760px; */
  color: #000;
  text-align: center;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 155.556% */
}

/* Form */
.cs-hero__form {
  width: 100%;
  max-width: 730px;
  margin: 56px auto 0;
}

.cs-hero__form .gform_wrapper {
  --gf-color-primary: var(--ink-dark);
  --gf-color-primary-rgb: 2, 2, 2;
  --gf-color-primary-darker: #000;
  --gf-color-primary-contrast: #fff;
}

.cs-hero__form .gform_wrapper form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  background: #FFF;
  border-radius: var(--radius);
  overflow: hidden;
  /* padding: 4px; */
  border: 1px solid #ECECEC;
}

.cs-hero__form .gform_wrapper .gform_body,
.cs-hero__form .gform_wrapper .gform-body,
.cs-hero__form .gform_wrapper .gform_fields {
  flex: 1;
  display: block;
  margin: 0;
  padding: 0;
}

.cs-hero__form .gform_wrapper .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

.cs-hero__form .gform_wrapper .gfield_label {
  display: none !important;
}

.cs-hero__form .gform_wrapper input[type="email"],
.cs-hero__form .gform_wrapper input[type="text"] {
  width: 100% !important;
  min-height: 46px;
  padding: 13px 18px !important;
  border: 0 !important;
  background: transparent !important;
  justify-items: flex-start!important;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  color: var(--ink-dark) !important;
  outline: none !important;
  box-shadow: none !important;
}

.cs-hero__form .gform_wrapper input::placeholder {
  color: #8A8E92;
}

.cs-hero__form .gform_wrapper .gform_footer {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
}

.cs-hero__form .gform_wrapper .gform_button.button,
.cs-hero__form .gform_wrapper input[type="submit"].gform_button {
  min-height: stretch;
  padding: 0 32px !important;
  margin: 0 !important;
  background: var(--ink-dark) !important;
  color: #fff !important;
  border: 0 !important;
  /* border-radius: calc(var(--radius) - 2px) !important; */
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto !important;
}

.cs-hero__form .gform_wrapper .gform_button.button:hover,
.cs-hero__form .gform_wrapper input[type="submit"].gform_button:hover {
  background: #000 !important;
}

.cs-hero__form .gform_wrapper .gform_validation_errors,
.cs-hero__form .gform_wrapper .validation_message {
  margin: 8px 0 0;
  font-size: 13px;
}

.cs-hero__form-placeholder {
  margin: 0;
  padding: 18px 24px;
  background: #F6F6F6;
  border-radius: var(--radius);
  color: #8A8E92;
  font-size: 14px;
  text-align: center;
}

/* Brand slider */
.cs-slider {
  --slider-gap: 80px;
  --slider-duration: 34s;
  width: 100%;
  margin-top: auto;
  padding: 124px 0 100px;
  background: var(--bg);
  overflow: hidden;
}

.cs-slider__track {
  display: flex;
  width: max-content;
  animation: cs-logo-marquee var(--slider-duration) linear infinite;
  will-change: transform;
}

.cs-slider__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--slider-gap);
  padding-right: var(--slider-gap);
}

.cs-slider__slide {
  width: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-slider__slide img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cs-slider__slide:hover img {
  opacity: 1;
}

@keyframes cs-logo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 991px) {
  .cs-hero {
    min-height: calc(100vh - 90px - 59px);
    padding-top: 60px;
  }

  .cs-services {
    margin-bottom: 56px;
    gap: 28px;
  }

  .cs-services__item {
    font-size: 15px;
  }

  .cs-hero__subtitle {
    font-size: 17px;
  }

  .cs-hero__form {
    margin-top: 40px;
  }

  .cs-slider__slide img {
    height: 48px;
  }
}

@media (max-width: 620px) {
  .cs-hero {
    min-height: calc(100svh - 72px - 59px);
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .cs-hero__inner {
    padding: 0 20px;
    justify-content: flex-start;
  }

  .cs-services {
    margin-bottom: 54px;
    gap: 20px 24px;
    justify-content: flex-start;
  }

  .cs-services__item {
    font-size: 13px;
    gap: 10px;
  }

  .cs-services__icon {
    width: 32px;
    height: 32px;
  }

  .cs-hero__subtitle {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 16px;
  }

  .cs-hero__headline {
    font-size: 56px;
    line-height: 0.96;
  }

  .cs-hero__form {
    max-width: 100%;
    margin-top: 32px;
  }

  .cs-hero__form .gform_wrapper form {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .cs-hero__form .gform_wrapper .gform_footer {
    width: 100%;
  }

  .cs-hero__form .gform_wrapper input[type="email"],
  .cs-hero__form .gform_wrapper input[type="text"] {
    min-height: 48px;
    padding: 0 16px !important;
  }

  .cs-hero__form .gform_wrapper .gform_button.button,
  .cs-hero__form .gform_wrapper input[type="submit"].gform_button {
    min-height: 48px;
    width: 100% !important;
  }

  .cs-slider {
    --slider-gap: 40px;
    --slider-duration: 28s;
    padding: 18px 0;
  }

  .cs-slider__slide img {
    height: 40px;
    max-width: 140px;
  }
}

@media (max-width: 360px) {
  .cs-hero__inner {
    padding: 0 16px;
  }

  .cs-services {
    gap: 16px 18px;
  }

  .cs-hero__headline {
    font-size: 42px;
  }
}
