/* ═══════════════════════════════════════════════════════════════
   Contact page — premium white design, hero + form side by side
   ═══════════════════════════════════════════════════════════════ */

/* ─── Global ─── */
.ys-contact {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.ys-contact *,
.ys-contact *::before,
.ys-contact *::after {
  box-sizing: border-box;
}

/* ─── Background glows ─── */
.ys-contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ys-contact__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.ys-contact__glow--1 {
  background: #382aff;
  top: -10%;
  right: -5%;
}

.ys-contact__glow--2 {
  background: #007bfb;
  bottom: -15%;
  left: -10%;
}

/* ─── Section layout — side by side ─── */
.ys-contact-section {
  position: relative;
  z-index: 1;
}

.ys-contact-section__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 6rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ─── Hero (left column) ─── */
.ys-contact-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
  position: sticky;
  top: 7rem;
}

.ys-contact-hero__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.08);
  padding: 0.375rem 1rem;
  border-radius: 100px;
}

.ys-contact-hero__heading {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0f172a;
}

.ys-contact-hero__gradient {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(131deg, #382aff, #007bfb);
  -webkit-background-clip: text;
  background-clip: text;
}

.ys-contact-hero__text {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.ys-contact-hero__email-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.ys-contact-hero__email-link:hover {
  color: #3B82F6;
}

/* ─── Stats bar ─── */
.ys-contact-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ys-contact-hero__stats-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.ys-contact-hero__stats-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.ys-contact-hero__stats-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Section labels (clients / press) ─── */
.ys-contact-hero__section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Clients bar ─── */
.ys-contact-hero__clients {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.ys-contact-hero__clients-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.55;
}

/* ─── Press logos ─── */
.ys-contact-hero__press {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.ys-contact-hero__press-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.ys-contact-hero__press-logo {
  height: 1.5rem;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.ys-contact-hero__press-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ─── Testimonial ─── */
.ys-contact-hero__testimonial {
  margin: 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid #3B82F6;
}

.ys-contact-hero__testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 0.5rem;
}

.ys-contact-hero__testimonial-author {
  font-size: 0.8125rem;
  color: #64748b;
}

.ys-contact-hero__testimonial-author strong {
  color: #0f172a;
}

/* ─── Form (right column, in card) ─── */
/* Scoped under .ys-contact for specificity over Webflow global resets */
.ys-contact .ys-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
}

.ys-contact .ys-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ys-contact .ys-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ys-contact .ys-contact-form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.ys-contact .ys-contact-form__input,
.ys-contact .ys-contact-form__select,
.ys-contact .ys-contact-form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ys-contact .ys-contact-form__input::placeholder,
.ys-contact .ys-contact-form__textarea::placeholder {
  color: #94a3b8;
}

.ys-contact .ys-contact-form__input:focus,
.ys-contact .ys-contact-form__select:focus,
.ys-contact .ys-contact-form__textarea:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: #fff;
}

.ys-contact .ys-contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.ys-contact .ys-contact-form__select option {
  color: #0f172a;
  background: #fff;
}

.ys-contact .ys-contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.ys-contact .ys-contact-form__select-wrapper {
  position: relative;
}

.ys-contact .ys-contact-form__hidden {
  display: none;
}

/* Submit */
.ys-contact .ys-contact-form__submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.ys-contact .ys-contact-form__submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #382aff, #007bfb);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ys-contact .ys-contact-form__submit-text {
  color: #fff;
  font-weight: 600;
}

.ys-contact .ys-contact-form__submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 123, 251, 0.35);
}

.ys-contact .ys-contact-form__submit-btn:hover .ys-contact-form__arrow {
  transform: translateX(3px);
}

.ys-contact .ys-contact-form__arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.ys-contact .ys-contact-form__arrow path {
  stroke: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .ys-contact-section__inner {
    grid-template-columns: 1fr;
    max-width: 44rem;
    padding: 5rem 2rem 4rem;
    gap: 3rem;
  }

  .ys-contact-hero {
    align-items: center;
    text-align: center;
    position: static;
  }

  .ys-contact-hero__stats-item {
    align-items: center;
  }

  .ys-contact-hero__clients-img {
    max-width: 100%;
    margin: 0 auto;
  }

  .ys-contact-hero__press-logos {
    justify-content: center;
  }

  .ys-contact-hero__testimonial {
    border-left: none;
    border-top: 3px solid #3B82F6;
    padding: 1rem 0 0;
    text-align: center;
  }

  .ys-contact-hero__heading {
    font-size: 2.5rem;
  }

  .ys-contact .ys-contact-form {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .ys-contact-section__inner {
    padding: 4rem 1.5rem 3rem;
    gap: 2.5rem;
  }

  .ys-contact-hero__heading {
    font-size: 2rem;
  }

  .ys-contact-hero__stats {
    gap: 1rem;
  }

  .ys-contact-hero__stats-value {
    font-size: 1.25rem;
  }

  .ys-contact .ys-contact-form__row {
    grid-template-columns: 1fr;
  }

  .ys-contact .ys-contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 479px) {
  .ys-contact-section__inner {
    padding: 3.5rem 1rem 2.5rem;
  }

  .ys-contact-hero__heading {
    font-size: 1.75rem;
  }

  .ys-contact-hero__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .ys-contact-hero__stats-item {
    align-items: center;
  }

  .ys-contact-hero__press-logos {
    gap: 1rem;
    justify-content: center;
  }
}
