/* Contact us (/contact/). Mobile and tablet: head, info boxes, form. Desktop: form left, info boxes right */

.luke-ct {
  padding: 24px 0 calc(var(--section) * 2);
}
.luke-ct-in {
  display: grid;
  gap: 16px;
  grid-template-areas: "head" "side" "main";
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1196px;
}

/* Head */
.luke-ct-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-area: head;
  margin-bottom: 16px;
}
.luke-ct-head p {
  font-size: 16px;
  letter-spacing: -.02em;
  line-height: 22px;
  margin-top: 6px;
}

/* Cards */
.luke-ct-main {
  grid-area: main;
  min-width: 0;
}
.luke-ct-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-area: side;
}
.luke-ct-card,
.luke-ct-box {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}
.luke-ct-card {
  background: var(--c-white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06), 0 4px 11px rgba(0, 0, 0, .05);
}
.luke-ct-card[hidden] {
  display: none;
}
.luke-ct-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 24px;
}
.luke-ct-form .luke-ct-title {
  border-bottom: 1px solid var(--c-beige0);
  padding-bottom: 16px;
}

/* Form */
.luke-ct-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.luke-ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.luke-ct-label {
  color: var(--c-gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 18px;
  text-transform: uppercase;
}
.luke-ct-input {
  background: var(--c-white);
  border: 1px solid var(--c-beige1);
  border-radius: 50px;
  color: var(--c-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  line-height: 22px;
  padding: 0 16px;
  transition: border-color .2s;
  width: 100%;
}
.luke-ct-input::placeholder {
  color: var(--c-gray);
  font-weight: 400;
  opacity: 1;
}
.luke-ct-input:focus {
  border-color: var(--c-green);
  outline: none;
}
.luke-ct-field.error .luke-ct-input {
  border-color: var(--c-red);
}
.luke-ct-textarea {
  border-radius: 16px;
  display: block;
  font-weight: 400;
  height: 120px;
  min-height: 120px;
  padding: 13px 16px;
  resize: vertical;
}
.luke-ct-order { /* fixed "#" before the digits */
  display: block;
  position: relative;
}
.luke-ct-order i {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  left: 16px;
  line-height: 22px;
  pointer-events: none;
  position: absolute;
  top: 13px;
}
.luke-ct-order .luke-ct-input {
  padding-left: 30px;
}
.luke-ct-error,
.luke-ct-count {
  font-size: 13px;
  line-height: 18px;
}
.luke-ct-error {
  color: var(--c-red);
}
.luke-ct-error:empty {
  display: none;
}
.luke-ct-count {
  color: var(--c-gray);
  display: none;
  text-align: right;
}
.luke-ct-count.show {
  display: block;
}
.luke-ct-send {
  margin-top: 8px;
  width: 100%;
}
.luke-ct-send.loading {
  opacity: .6;
  pointer-events: none;
}
.luke-ct-msg { /* server answer: limit or error */
  background: #FEE9EE;
  border-radius: 12px;
  color: var(--c-dark);
  font-size: 14px;
  line-height: 20px;
  padding: 10px 14px;
}
.luke-ct-msg:empty {
  display: none;
}
.luke-ct-trap { /* honeypot */
  height: 1px;
  left: -9999px;
  opacity: 0;
  position: absolute;
  width: 1px;
}
.luke-ct-note {
  color: var(--c-gray);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}
.luke-ct-note a {
  text-decoration: underline;
  white-space: nowrap;
}
.luke-ct-note a:hover {
  text-decoration: none;
}

/* Message sent */
.luke-ct-sent {
  align-items: center;
  gap: 16px;
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: center;
}
.luke-ct-sent-icon {
  color: var(--c-lime);
  height: 56px;
  width: 56px;
}
.luke-ct-sent-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 32px;
}
.luke-ct-sent p {
  font-size: 16px;
  letter-spacing: -.02em;
  line-height: 22px;
}
.luke-ct-sent-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

/* Info boxes */
.luke-ct-hours {
  background: #E9FAC0;
}
.luke-ct-email {
  background: #DAF1FE;
}
.luke-ct-faq {
  align-items: flex-start;
  background: #FCD3C2;
}
.luke-ct-hours .luke-ct-title,
.luke-ct-email .luke-ct-title {
  border-bottom: 1px solid rgba(6, 41, 29, .1);
  padding-bottom: 16px;
}
.luke-ct-hours {
  gap: 10px;
}
.luke-ct-hours .luke-ct-title {
  margin-bottom: 6px;
}
.luke-ct-hours-row {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: 12px;
  justify-content: space-between;
  letter-spacing: -.02em;
  line-height: 24px;
}
.luke-ct-hours-row b {
  font-weight: 500;
  white-space: nowrap;
}
.luke-ct-email {
  gap: 8px;
}
.luke-ct-email .luke-ct-title {
  margin-bottom: 8px;
}
.luke-ct-email a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 24px;
  overflow-wrap: anywhere;
}
.luke-ct-email a:hover {
  text-decoration: underline;
}
.luke-ct-email p {
  font-size: 14px;
  line-height: 20px;
}
.luke-ct-faq .lbtn {
  background: var(--c-white);
}
.luke-ct-faq .lbtn:hover {
  background: var(--c-green);
}

@media (min-width: 768px) {
  .luke-ct {
    padding-top: 40px;
  }
  .luke-ct-head {
    gap: 18px;
  }
  .luke-ct-head p {
    font-size: 18px;
    line-height: 24px;
  }
  .luke-ct-card,
  .luke-ct-box {
    border-radius: 40px;
    padding: 30px;
  }
  .luke-ct-card {
    gap: 16px;
  }
  .luke-ct-title {
    font-size: 24px;
    line-height: 28px;
  }
  .luke-ct-faq {
    gap: 24px;
  }
  .luke-ct-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .luke-ct-field {
    gap: 12px;
  }
  .luke-ct-label {
    font-size: 14px;
    line-height: 20px;
  }
  .luke-ct-send {
    margin-top: 8px;
  }
  .luke-ct-note {
    font-size: 14px;
    line-height: 20px;
  }
  .luke-ct-sent {
    gap: 24px;
  }
  .luke-ct-sent-title {
    font-size: 32px;
    line-height: 32px;
    margin-top: 0;
  }
  .luke-ct-sent p {
    font-size: 18px;
    line-height: 24px;
    margin-top: -8px;
  }
  .luke-ct-sent-btns {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    margin-top: 0;
  }
  .luke-ct-sent-btns .lbtn {
    min-width: 212px;
  }
  .luke-ct-hours-row {
    font-size: 18px;
  }
  .luke-ct-hours-row b {
    font-size: 20px;
  }
  .luke-ct-email a {
    font-size: 20px;
  }
  .luke-ct-email p {
    font-size: 16px;
    line-height: 22px;
  }
}

/* Desktop: form left, info boxes right */
@media (min-width: 1200px) {
  .luke-ct-in {
    column-gap: 40px;
    grid-template-areas: "head head" "main side";
    grid-template-columns: minmax(0, 708px) minmax(0, 428px);
    justify-content: space-between;
    row-gap: 0;
  }
  .luke-ct-head {
    margin-bottom: 36px;
  }
  .luke-ct-side {
    gap: 24px;
  }
}
