
/* ============================================================
   SECTION: CONTACT PAGE â€” START
   The contact page runs three components on the dark inner-page wrapper: the
   inner hero (hidden here), the Swifty form section, and the contact-info +
   map panel.

   component-common.css already does the heavy lifting and is NOT repeated:
     - the whole form system at :935-1160 â€” field geometry, .form-row flex with
       gap:24px, .option-group, .g-checkbox, .time-range-inputs, and fully
       custom radio/checkbox controls drawn with border:2px solid +
       color:currentColor (which inherit white here, so they are left alone);
     - the form's responsive work at :3119-3140 (1024) and :3401-3470 (768);
     - the .contact-map internals at :2306-2373 â€” .info-section grid,
       .hours-list rows, icons, .section-title.

   Everything below is either colour (the framework assumes a LIGHT ground and
   this page is black) or the few things the framework genuinely omits.
   ============================================================ */

/* --- Form: desktop column split ---
   component-common.css sizes #form-section .col.left-col / .right-col ONLY
   inside its 1024 (:3119, 50%) and 768 (:3401, 100%) blocks, and the bare .col
   class has no width of its own (component-main.css only defines .col-1..12).
   Above 1024 both columns are therefore unsized flex children. This is the
   desktop split; the framework's !important rules take over below 1024. */
.page-ct .contact-inner-hero {
  display: none;
}

 #form-section .d-flex.w-100 {
  gap: 60px;
  align-items: flex-start;
}

 #form-section .col.left-col {
  width: 55%;
}

 #form-section .col.right-col {
  width: 45%;
}

/* the framework gives .image-section height:100% and the img object-fit:cover,
   but nothing establishes a height to fill on this page */
 #form-section .image-section {
  min-height: 100%;
  aspect-ratio: 3 / 4;
}

/* --- Form: colour only, geometry belongs to the framework --- */

/* v1: .formmangr-field input â€” dark fill so the fields read on black.
   The framework sets only border/padding/radius and leaves the background to
   the browser default (white), which is its light-ground assumption. */
 .form-section input[type="text"],
 .form-section input[type="email"],
 .form-section input[type="date"],
 .form-section input[type="tel"],
 .form-section select,
 .form-section textarea {
  border-color: rgba(226, 222, 213, 0.4);
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

/* The framework's placeholder colour is #494949 â€” chosen for white fields and
   unreadable on these. It declares all three vendor forms, so both of the ones
   that still matter are restated. */
 .form-section input::placeholder,
 .form-section textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

 .form-section input::-webkit-input-placeholder,
 .form-section textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

/* select:invalid is how the framework greys the unchosen placeholder option */
 .form-section select:invalid {
  color: rgba(255, 255, 255, 0.65);
}

/* The framework sets appearance:none on the select but supplies no arrow, so
   the control loses its affordance entirely.

   It must be a single background-image, not the usual two-gradient chevron:
   component-common.css:3023-3028 forces `background-size: 20px 20px` and
   `background-position: 98% center` on EVERY select with !important (its own
   background-image line is commented out). A pair of gradients gets crushed
   into that one 20px box and renders as a white blob. An SVG data URI drawn to
   suit 20x20 works with that forced sizing instead of fighting it â€” do not add
   background-size/position here, they cannot win. */
 .form-section select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* The default focus ring is low contrast against a dark fill. */
 .form-section input:focus,
 .form-section select:focus,
 .form-section textarea:focus {
  outline: 2px solid #9f662d;
  outline-offset: 2px;
}

/* #form-section .error is `red`, which is unreadable on black */
 #form-section .error {
  color: #ff8a80;
}

/* component-common.css:985 sets `padding: 16px 0` on this button â€” no
   horizontal padding at all, so the label sits flush against both edges. */
 #form-section .form-section-wrapper button.btn {
  padding: 16px 40px;
  min-width: 170px;
}

 .form-section small.recaptcha-declaration {
  display: block;
  margin-bottom: 15px;
  font-size: 0.722rem;
}

 .form-section small.recaptcha-declaration a {
  text-decoration: underline;
}

/* --- Contact info + map panel --- */

/* component-common.css only sizes these two inside its max-width:1440 block,
   so above 1440 they are unsized flex children. This is the desktop split. */
 .contact-map .container.d-flex {
  gap: 40px;
  align-items: flex-start;
}

 .contact-map .contact-info {
  width: 35%;
}

 .contact-map .map-area {
  width: 65%;
}

/* the framework only zeroes the LAST info-section's margin; the others have none */
 .contact-map .info-section {
  margin-bottom: 30px;
}

 .contact-map .section-title {
  font-weight: 700;
  letter-spacing: 0.1em;
}

 .contact-map .hours-list .day,
 .contact-map .hours-list .time {
  font-weight: 300;
}

 .contact-map .contact-directions-link,
 .contact-map a.phone {
  color: inherit;
  text-decoration: none;
}

 .contact-map .contact-directions-link:hover,
 .contact-map a.phone:hover {
  color: #9f662d;
}

/* v1: .google-map.tour-map */
 #footer-google-map {
  height: 30vw;
  min-height: 400px;
}

 #footer-google-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ============================================================
   SECTION: CONTACT PAGE â€” END
   ============================================================ */

@media (max-width: 1440px) {
   .contact-map .container.d-flex {
    gap: 24px;
  }
}

@media (max-width: 767px) {
   .contact-map .container.d-flex {
    flex-flow: column;
    gap: 30px;
  }

   .contact-map .contact-info,
   .contact-map .map-area {
    width: 100% !important;
  }

   #footer-google-map {
    height: 60vw;
    min-height: 300px;
  }
}
