/* ==========================================================================
   Contact Us Page Styles
   Source: Figma node 828:3198. Banner + 2-column body (map+info | form).
   Banner base styles (.cetools-page-banner, --image, etc.) live in
   page-products.css and are shared across inner pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Banner image (Contact-specific)
   Figma: solid #132F6B + IMAGE @ opacity 0.30 (same blend as About/Products).
   -------------------------------------------------------------------------- */
.cetools-page-banner--contact .cetools-page-banner__bg {
  background-image: url("../images/contact/banner-bg.jpg");
}

/* --------------------------------------------------------------------------
   Page wrapper
   Figma Frame 1597881915 (1795×924): individualStrokeWeights left=1,
   color #B5B5B5 — single 1px vertical line at the content/sidebar edge.
   -------------------------------------------------------------------------- */
.cetools-contact-page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  border-left: 1px solid #B5B5B5;
}

/* --------------------------------------------------------------------------
   Two-column content
   Figma body wrapper has padding T120/B120 R0/L0.
   Inner Frame 1597881909 has padding R240/L240, gap 40 — two 638-wide cols.
   -------------------------------------------------------------------------- */
.cetools-contact-page__content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 120px 240px;
}

.cetools-contact-page__info,
.cetools-contact-page__form {
  flex: 1 1 50%;
  min-width: 0;            /* allow shrinking inside flex */
  max-width: 638px;        /* Figma column width */
}

/* --------------------------------------------------------------------------
   Left column — map + info card
   Outer column (Frame 1597881949): VERTICAL gap 40.
   -------------------------------------------------------------------------- */
.cetools-contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Map iframe — Rectangle 23 in Figma: 638×333 with 1px #818181 stroke. */
.cetools-contact-page__map {
  width: 100%;
  aspect-ratio: 638 / 333;
  border: 1px solid #818181;
  overflow: hidden;
  background-color: #EFEFEF;
}

.cetools-contact-page__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Info card — Frame 1597881943: 638×311, padding 30/0/30/0, gap 19.
   Figma JSON has BG #EFEFEF here but per user the box has no background. */
.cetools-contact-page__details {
  background-color: transparent;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.cetools-contact-page__details-heading {
  font-family: "Semplicita", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #272727;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0;
  text-align: left;
  text-transform: none;        /* Figma textCase: TITLE → render as typed */
}

/* Row layout — label fixed 100w, value auto, gap 19 (Figma). */
.cetools-contact-page__row {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: flex-start;
}

.cetools-contact-page__label,
.cetools-contact-page__value {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  color: #272727;
  line-height: 29px;
  letter-spacing: 0;
}

.cetools-contact-page__label {
  flex: 0 0 100px;             /* Figma label column = 100px */
}

.cetools-contact-page__value {
  flex: 1 1 auto;
}

.cetools-contact-page__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.cetools-contact-page__link:hover,
.cetools-contact-page__link:focus-visible {
  border-bottom-color: #272727;
}

/* --------------------------------------------------------------------------
   Right column — form
   Outer column (Frame 1597881942): VERTICAL gap 16.
   -------------------------------------------------------------------------- */
.cetools-contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cetools-contact-page__form-heading {
  font-family: "Semplicita", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #272727;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0;
  text-align: left;
  text-transform: none;        /* Figma textCase: TITLE → render as typed */
}

.cetools-contact-page__form-intro {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #272727;
  line-height: 28px;
  letter-spacing: 0;
  margin: 0;
}

/* Forminator wrapper — JS injects form 17 in here after Barba transitions */
.cetools-contact-page__form-wrap {
  width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1600px) {
  .cetools-contact-page__content {
    padding: 90px 120px;
    gap: 32px;
  }
}

@media (max-width: 1200px) {
  .cetools-contact-page__content {
    padding: 80px 60px;
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .cetools-contact-page__content {
    flex-direction: column;
    align-items: stretch;
    padding: 60px 50px;
    gap: 60px;
  }
  .cetools-contact-page__info,
  .cetools-contact-page__form {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .cetools-contact-page__content {
    padding: 50px 20px;
    gap: 40px;
  }
  .cetools-contact-page__details {
    padding: 24px 0;
    gap: 16px;
  }
  .cetools-contact-page__row {
    flex-direction: column;
    gap: 4px;
  }
  .cetools-contact-page__label {
    flex-basis: auto;
    font-weight: 500;
  }
  .cetools-contact-page__details-heading,
  .cetools-contact-page__form-heading {
    font-size: 22px;
    line-height: 26px;
  }
  .cetools-contact-page__label,
  .cetools-contact-page__value {
    font-size: 17px;
    line-height: 26px;
  }
  .cetools-contact-page__form-intro {
    font-size: 16px;
    line-height: 24px;
  }
}
