/* Form Section — "Drop Us A Line" */
section#form-section.form-section {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--base-color);
  color: var(--base-color);
  font-family: var(--first-font-body);
  font-size: 18px;
  line-height: 20.7px;
}

section#form-section .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Reversed: image left, form right. */
section#form-section .container > .d-flex {
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 0;
}

section#form-section .left-col {
  width: 66.6667%;
  padding: 0 15px;
}

section#form-section .right-col {
  width: 33.3333%;
  padding: 0 15px;
}

/* Image column — spills 120px over the form panel. */
section#form-section .image-section {
  width: calc(100% + 120px);
  height: 100%;
  max-height: none;
  margin-left: 120px;
  padding: 0;
  position: relative;
  background: none;
}

section#form-section .image-section img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-height: 992px;
}

/* Form column */
section#form-section .form-section-wrapper {
  max-width: 1080px;
  margin: 0;
  padding: 250px 0 250px 330px;
}

section#form-section .section-title {
  margin: 0 0 35px;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 45.6px;
  letter-spacing: 0;
  text-align: left;
}

/* Placeholder asterisks already convey this. */
section#form-section .form-section-wrapper > p.mb-3 {
  display: none;
}

section#form-section .formmangr-custom-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

section#form-section .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  margin-bottom: 24px;
}

/* An empty .form-row is emitted between field groups; collapse it. */
section#form-section .form-row:empty {
  display: none;
  margin-bottom: 0;
}

section#form-section .single-field,
section#form-section .option-group {
  width: 50%;
  margin-bottom: 16px;
  padding-right: 30px;
}

section#form-section .form-row.single .single-field,
section#form-section .single-field.g-checkbox,
section#form-section .time-field,
section#form-section .button-row {
  width: 100%;
}

/* Fields — borderless, underlined */
section#form-section input[type="text"],
section#form-section input[type="email"],
section#form-section input[type="password"],
section#form-section input[type="date"],
section#form-section input[type="tel"],
section#form-section select,
section#form-section textarea {
  width: 100%;
  /* Placeholder doubles as the label, so keep the top padding. */
  height: 56px;
  padding: 18px 0 10px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

section#form-section textarea {
  min-height: 200px;
  padding: 20px 0;
  resize: vertical;
}

section#form-section input::placeholder,
section#form-section textarea::placeholder,
section#form-section select:invalid {
  opacity: 1;
}

section#form-section input:focus,
section#form-section select:focus,
section#form-section textarea:focus {
  border-color: currentColor;
  box-shadow: none;
}

section#form-section select {
  appearance: none;
}

/* Native dropdown list draws on the UA's own surface, not the dark panel. */
section#form-section select option {
  color: #000;
  background: #fff;
}

section#form-section :is(input, select, textarea, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Radio / checkbox groups */
section#form-section label,
section#form-section .option-group p,
section#form-section .time-field p,
section#form-section .time-separator,
section#form-section .option-group label {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
}

section#form-section .option-group .d-flex,
section#form-section .time-range-inputs {
  display: flex;
  gap: 24px;
}
.time-range-inputs{
  width: 100%;
}
section#form-section .option-group .d-flex label.d-flex {
  align-items: center;
  gap: 0;
}

section#form-section .time-range-inputs .single-field {
  width: 50%;
}

section#form-section .single-field.g-checkbox {
  padding-right: 30px;
}

/* Submit — circle on the row, arrow on the button. */
section#form-section .button-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0 !important;
}

/* order:-1 keeps the circle and button on one line. */
section#form-section .recaptcha-declaration {
  order: -1;
  display: block;
  flex: 0 0 100%;
  /* Must stay 100% wide, or the circle and button split apart. */
  max-width: 100%;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.6;
}

section#form-section .button-row::before {
  content: "";
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  margin: 5px 10px 5px 0;
  border: 2px solid currentColor;
  border-radius: 50%;
}

section#form-section .button-row button.formmangr-button-submit {
  position: relative;
  flex: 0 0 auto;
  /* component-common.css:3413 forces width:100% below 768px. */
  width: auto !important;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--first-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Shaft — reaches back across the circle to its left rim. */
section#form-section .button-row button.formmangr-button-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -88px;
  width: 50px;
  margin-top: -1px;
  border-bottom: 2px solid currentColor;
  transition: all .3s ease;
}

/* Head — sits at the shaft's tip. */
section#form-section .button-row button.formmangr-button-submit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -53px;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: all .3s ease;
}

section#form-section .button-row button.formmangr-button-submit:is(:hover, :focus-visible)::before {
  left: -64px;
  width: 35px;
}

section#form-section .button-row button.formmangr-button-submit:is(:hover, :focus-visible)::after {
  left: -44px;
}

/* Full-width variant has no image column to sit beside. */
section#form-section.full-width-section .left-col {
  width: 100%;
}

section#form-section.full-width-section .form-section-wrapper {
  margin: auto;
  padding: 120px 30px;
}

/* Responsive */
@media screen and (max-width: 1440px) {
  section#form-section .form-section-wrapper {
    padding: 160px 30px 160px 160px;
  }

  section#form-section .image-section {
    width: calc(100% + 60px);
    margin-left: 60px;
  }
}

/* Drop the image spill here; two columns still fit. */
@media screen and (max-width: 1200px) {
  section#form-section .image-section {
    width: 100%;
    margin-left: 0;
  }

  section#form-section .form-section-wrapper {
    max-width: 900px;
    padding: 100px 30px;
  }

  section#form-section .single-field,
  section#form-section .option-group {
    width: 100%;
    padding-right: 0;
  }

  section#form-section .time-range-inputs .single-field {
    width: 50%;
  }
}

/* Stack point. */
@media screen and (max-width: 992px) {
  section#form-section.form-section {
    margin-top: 0;
    padding-top: 0;
  }

  section#form-section .container > .d-flex {
    flex-direction: column-reverse !important;
  }

  section#form-section .left-col,
  section#form-section .right-col {
    width: 100% !important;
  }

  /* .left-col owns the side gutter from here down. */
  section#form-section .left-col {
    padding: 0 30px;
  }

  section#form-section .right-col {
    padding: 0;
  }

  section#form-section .form-section-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 70px 0;
  }

  section#form-section .image-section {
    width: 100%;
    height: 420px;
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  section#form-section .left-col {
    padding: 0 24px;
  }

  section#form-section .form-section-wrapper {
    padding: 50px 0;
  }

  section#form-section .section-title {
    margin-bottom: 40px;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
  }

  section#form-section .form-row {
    margin-bottom: 20px;
  }

  section#form-section .image-section {
    height: 320px;
  }

  section#form-section .button-row {
    justify-content: center;
  }

  /* Smaller circle: arrow offsets recomputed to sit inside it. */
  section#form-section .button-row::before {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin: 5px 10px 5px 0;
  }

  section#form-section .button-row button.formmangr-button-submit {
    font-size: 15px;
  }

  section#form-section .button-row button.formmangr-button-submit::before {
    left: -56px;
    width: 34px;
  }

  section#form-section .button-row button.formmangr-button-submit::after {
    left: -33px;
    width: 11px;
    height: 11px;
  }

  section#form-section .button-row button.formmangr-button-submit:is(:hover, :focus-visible)::before {
    left: -46px;
    width: 24px;
  }

  section#form-section .button-row button.formmangr-button-submit:is(:hover, :focus-visible)::after {
    left: -31px;
  }
}

@media screen and (max-width: 480px) {
  section#form-section .left-col {
    padding: 0 20px;
  }

  section#form-section .form-section-wrapper {
    max-width: 100%;
    padding: 40px 0;
  }

  section#form-section .section-title {
    font-size: 26px;
  }

  section#form-section .image-section {
    height: 240px;
  }

  section#form-section .time-range-inputs .single-field {
    width: 100%;
  }
}
