/* ========================================
   AIYA PRINT CO.
   SUPPORT PAGE
======================================== */


/* ========================================
   PAGE
======================================== */

.support-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 75px 24px 120px;
}


/* ========================================
   HERO
======================================== */

.support-hero {
  max-width: 760px;
  margin-bottom: 60px;
}

.support-hero h1 {
  margin: 8px 0 18px;

  font-size:
    clamp(3rem, 7vw, 5.7rem);

  line-height: 0.96;
}

.support-hero > p:last-child {
  max-width: 620px;

  font-size: 1rem;
  line-height: 1.7;

  opacity: 0.68;
}


/* ========================================
   QUICK SUPPORT CARDS
======================================== */

.support-quick-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 90px;
}

.support-quick-card {
  min-height: 210px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  color: inherit;

  background: #f4f1e7;

  border:
    1px solid rgba(30, 30, 25, 0.1);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.support-quick-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(30, 30, 25, 0.28);
}

.support-card-number {
  margin-bottom: auto;

  font-size: 0.7rem;

  letter-spacing: 0.12em;

  opacity: 0.4;
}

.support-quick-card h2 {
  margin: 28px 0 8px;

  font-size: 1.15rem;
}

.support-quick-card p {
  margin: 0;

  font-size: 0.84rem;
  line-height: 1.55;

  opacity: 0.62;
}


/* ========================================
   LAYOUT
======================================== */

.support-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);

  gap: clamp(50px, 8vw, 100px);

  align-items: start;

  scroll-margin-top: 50px;
}


/* ========================================
   SECTION HEADING
======================================== */

.support-section-heading {
  margin-bottom: 32px;
}

.support-section-heading h2 {
  margin: 7px 0 10px;

  font-size:
    clamp(2rem, 4vw, 3.2rem);
}

.support-section-heading > p:last-child {
  margin: 0;

  opacity: 0.62;
}


/* ========================================
   FORM
======================================== */

.support-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.support-field {
  display: flex;
  flex-direction: column;
}

.support-field-full {
  grid-column: 1 / -1;
}

.support-field label {
  margin-bottom: 8px;

  font-size: 0.84rem;
  font-weight: 600;
}

.support-optional {
  margin-left: 5px;

  font-weight: 400;

  opacity: 0.45;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;

  padding: 14px 15px;

  font: inherit;
  font-size: 0.95rem;

  color: inherit;
  background: transparent;

  border:
    1px solid rgba(30, 30, 25, 0.2);

  border-radius: 3px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.support-field input,
.support-field select {
  min-height: 52px;
}

.support-field textarea {
  resize: vertical;

  min-height: 180px;

  line-height: 1.6;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color:
    rgba(30, 30, 25, 0.72);

  background:
    rgba(255, 255, 255, 0.3);
}

.support-field.has-error input,
.support-field.has-error select,
.support-field.has-error textarea {
  border-color: #9a3e32;
}

.support-field-error {
  min-height: 16px;

  margin-top: 6px;

  font-size: 0.73rem;

  color: #8a3029;
}

.support-submit-button {
  width: 100%;

  margin-top: 25px;
}

.support-development-note {
  margin-top: 13px;

  text-align: center;

  font-size: 0.74rem;
  line-height: 1.5;

  opacity: 0.5;
}


/* ========================================
   SIDEBAR
======================================== */

.support-sidebar {
  position: sticky;
  top: 30px;

  padding: 30px;

  background: #f4f1e7;

  border:
    1px solid rgba(30, 30, 25, 0.1);
}

.support-sidebar-block {
  padding: 24px 0;

  border-bottom:
    1px solid rgba(30, 30, 25, 0.1);
}

.support-sidebar-block:first-child {
  padding-top: 0;
}

.support-sidebar-block:last-child {
  padding-bottom: 0;

  border-bottom: none;
}

.support-sidebar h2 {
  margin: 7px 0 12px;

  font-size: 1.45rem;
}

.support-sidebar h3 {
  margin: 0 0 8px;

  font-size: 1rem;
}

.support-sidebar p {
  margin: 0 0 12px;

  font-size: 0.82rem;
  line-height: 1.6;

  opacity: 0.64;
}

.support-sidebar a {
  font-size: 0.8rem;

  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-placeholder-email {
  display: block;

  margin-top: 7px;

  font-size: 0.84rem;

  overflow-wrap: anywhere;
}


/* ========================================
   SUCCESS MESSAGE
======================================== */

.support-success {
  padding: 45px;

  background: #f4f1e7;

  border:
    1px solid rgba(30, 30, 25, 0.1);
}

.support-success-mark {
  width: 46px;
  height: 46px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(30, 30, 25, 0.25);

  border-radius: 50%;
}

.support-success h2 {
  margin: 7px 0 12px;

  font-size: 2rem;
}

.support-success > p:not(.eyebrow) {
  max-width: 560px;

  margin-bottom: 25px;

  line-height: 1.65;

  opacity: 0.65;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 950px) {

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

  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-sidebar {
    position: static;
  }

}


@media (max-width: 600px) {

  .support-page {
    padding:
      50px
      20px
      90px;
  }

  .support-quick-grid {
    grid-template-columns: 1fr;
  }

  .support-form-grid {
    grid-template-columns: 1fr;
  }

  .support-field-full {
    grid-column: auto;
  }

  .support-success {
    padding: 28px;
  }

}