/* Floor contact form pages */
.floor-page--contact {
  background: #232323;
  color: #fff;
  min-height: 100vh;
}

.floor-contact {
  padding: 140px 24px 80px;
}

.floor-contact__inner {
  max-width: 980px;
  margin: 0 auto;
}

.floor-contact__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.floor-contact__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.floor-contact__eyebrow {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: normal;
  color: #f3d5a5;
}

.floor-contact__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.floor-contact__lead {
  margin: 0;
  width: 100%;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 2;
  text-align: center;
  color: #fff;
}

.floor-contact__phone {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.floor-contact__phone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(100%, 468px);
  padding: 32px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: #1d1d1d;
  text-align: center;
}

.floor-contact__phone-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.floor-contact__phone-icon {
  display: inline-flex;
  color: #fff;
}

.floor-contact__phone-icon svg {
  width: 49px;
  height: 58px;
}

.floor-contact__phone-label,
.floor-contact__phone-number {
  margin: 0;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 24px;
  line-height: 1;
  color: #fff;
}

.floor-contact__phone-number {
  display: inline-block;
  text-decoration: none;
}

.floor-contact__phone-number:hover {
  opacity: 0.85;
}

.floor-contact__phone-hours {
  margin: 0;
  width: 100%;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 2;
  color: #fff;
}

.floor-contact__form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.floor-contact__form-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 412px);
  margin: 0;
  text-align: center;
}

.floor-contact__form-title {
  margin: 0;
  width: 100%;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 2;
  color: #fff;
}

.floor-contact__form-note {
  margin: 0;
  width: 100%;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 2;
  color: #fff;
}

.floor-contact__body {
  width: 100%;
  background: #1e1e1e;
  border-radius: 8px;
  padding: 48px;
}

.floor-contact__body > p {
  display: none;
}

/* Form layout */
.floor-contact .mw_wp_form {
  width: 100%;
}

.floor-contact .form_table {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.floor-contact .form_table_row {
  margin: 0;
}

.floor-contact .form_table_column {
  width: 100%;
}

.floor-contact .form-field {
  display: block;
  width: 100%;
}

.floor-contact label {
  display: block;
  width: 100%;
}

.floor-contact .title {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  margin: 0 0 0;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 2;
  color: #fff;
}

.floor-contact .required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border-radius: 4px;
  background: #c5a572;
  color: #000;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.floor-contact .optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border-radius: 4px;
  background: #555;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}

/* Text inputs: underline style */
.floor-contact input[type="text"],
.floor-contact input[type="email"],
.floor-contact input[type="tel"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #8b857b;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  line-height: 1.4;
}

.floor-contact input::placeholder {
  color: #8b857b;
}

.floor-contact .mwform-tel-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border-bottom: 1px solid #8b857b;
  padding: 10px;
  box-sizing: border-box;
}

.floor-contact .mwform-tel-field input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  padding: 0;
}

/* Date / time */
.floor-contact .form_datetime .title {
  margin-bottom: 11px;
}

.floor-contact .datetime-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.floor-contact .datetime-row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.floor-contact .datetime-field {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.floor-contact .datetime-label {
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.floor-contact .datetime-control {
  position: relative;
}

.floor-contact .datetime-control input,
.floor-contact .datetime-control select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 16px 48px 16px 16px;
  border: 1px solid #8b857b;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  line-height: 1.4;
}

.floor-contact .datetime-control--date input {
  background-image: url("images/icon-calendar.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.floor-contact .datetime-control--time select {
  appearance: none;
  background-image: url("images/icon-chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
}

.floor-contact .datetime-control select option {
  color: #1e1e1e;
}

/* Checkboxes */
.floor-contact .form_checkbox .title,
.floor-contact .form_policy .title {
  margin-bottom: 16px;
}

.floor-contact .checkbox-group,
.floor-contact .policy-consent {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.floor-contact .policy-consent {
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}

.floor-contact .mwform-checkbox-field {
  display: inline-flex;
  margin: 0;
}

.floor-contact .mwform-checkbox-field label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.floor-contact .mwform-checkbox-field-text {
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 1;
  color: #fff;
}

.floor-contact .mwform-checkbox-field input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.floor-contact .mwform-checkbox-field input[type="checkbox"]:checked {
  border-color: #c5a572;
  background: #c5a572
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13L9 17L19 7' stroke='%231e1e1e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px 16px no-repeat;
}

/* Textarea */
.floor-contact .form_textarea .title {
  margin-bottom: 11px;
}

.floor-contact textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  box-sizing: border-box;
  margin: 0;
  padding: 16px;
  border: 1px solid #8b857b;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  line-height: 1.4;
  resize: vertical;
}

.floor-contact textarea::placeholder {
  color: #8b857b;
}

/* Privacy policy */
.floor-contact .form_policy .title {
  margin-bottom: 11px;
}

.floor-contact .contact-policy-box {
  width: 100%;
  max-height: 280px;
  min-height: 120px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #8b857b;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

.floor-contact .contact-policy-box p,
.floor-contact .contact-policy-box ul {
  margin: 0 0 1em;
}

.floor-contact .contact-policy-box ul {
  padding-left: 24px;
}

.floor-contact .contact-policy-box a {
  color: #fff;
  text-decoration: underline;
}

.floor-contact .contact-policy {
  display: none;
}

/* Submit */
.floor-contact .submit-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.floor-contact .submit-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-align: center;
}

.floor-contact .submit-btn-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.floor-contact .confirm-btn,
.floor-contact .send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  appearance: none;
  border: none;
  border-radius: 4px;
  background: #c5a572;
  color: #1e1e1e;
  padding: 16px 32px;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.floor-contact .confirm-btn::after,
.floor-contact .send::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("images/icon-send.svg") center/contain no-repeat;
}

.floor-contact .back {
  appearance: none;
  border: 1px solid #8b857b;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
  font-size: 16px;
  cursor: pointer;
}

.floor-contact .mw_wp_form_confirm .submit-btn:first-child,
.floor-contact
  .mw_wp_form_confirm
  .submit-area
  > .submit-btn:not(.submit-btn-confirm) {
  display: none;
}

.floor-contact .mw_wp_form_input .submit-btn-confirm {
  display: none;
}

.floor-contact .mw_wp_form_complete {
  text-align: center;
  line-height: 2;
  font-family: "Zen Old Mincho", "Shippori Mincho", serif;
}

/* Confirm screen */
.floor-contact .mw_wp_form_confirm .form-field input,
.floor-contact .mw_wp_form_confirm .datetime-control input,
.floor-contact .mw_wp_form_confirm .datetime-control select,
.floor-contact .mw_wp_form_confirm textarea {
  pointer-events: none;
}

@media (max-width: 767px) {
  .floor-contact {
    padding: 110px 16px 60px;
  }

  .floor-contact__eyebrow {
    font-size: clamp(20px, 5vw, 32px);
  }

  .floor-contact__form-title {
    font-size: clamp(28px, 7vw, 36px);
  }

  .floor-contact__form-note {
    font-size: clamp(16px, 4vw, 20px);
  }

  .floor-contact__body {
    padding: 24px 16px;
  }

  .floor-contact .title {
    font-size: 20px;
    flex-wrap: wrap;
  }

  .floor-contact .datetime-row {
    flex-direction: column;
    gap: 20px;
  }

  .floor-contact .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
