/* ==========================================================
   CONTACT US (GLOBAL) â€” STANDALONE STYLESHEET
   Template: page-contact-global.php

   This file is fully independent from the FLP Additional CSS.
   Every class here is namespaced with cg-.
   ========================================================== */

.cg-page,
.cg-page * {
  box-sizing: border-box;
}

.cg-page .wrap,
.cg-hero__inner,
.cg-as-seen-on__inner,
.cg-contact-split__inner,
.cg-process__inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.cg-hero,
.cg-as-seen-on {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* ==========================================================
   1. HERO
   ========================================================== */

.cg-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  overflow: hidden;
  background: #373a36;
  color: #fff;
}

.cg-hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cg-hero__bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* Fades the image to transparent on the left so the copy stays
     readable, without relying on a flat color overlay. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 15%, black 75%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 15%, black 75%, black 100%);
}

.cg-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 70px;
}

.cg-hero__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 20px;
  padding-left: 34px;

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}

.cg-hero__eyebrow-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #4a9fd8;
  transform: translateY(-50%);
}

.cg-hero__heading {
  max-width: 620px;
  margin: 0 0 16px;

  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
}

.cg-hero__subtext {
  max-width: 480px;
  margin: 0;

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .cg-hero {
    min-height: 280px;
  }

  .cg-hero__inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}


/* ==========================================================
   2. AS SEEN ON STRIP
   ========================================================== */

.cg-as-seen-on {
  background: #373a36;
  padding: 22px 0;
}

.cg-as-seen-on__inner {
  display: flex;
  justify-content: center;
}

.cg-as-seen-on__image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
}

@media (max-width: 768px) {
  .cg-as-seen-on {
    padding: 16px 0;
  }
}


/* ==========================================================
   3. CONTACT SPLIT â€” JotForm + sticky map/office card
   ========================================================== */

.cg-contact-split {
  background: #fff;
  padding: 64px 0 72px;
}

.cg-contact-split__inner {
 	display: grid;
	grid-template-columns: minmax(0, 2fr) 340px;
	gap: 40px;
	align-items: start;
}

.cg-contact-split__form-heading {
  margin: 0 0 10px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #373a36;
}

.cg-contact-split__form-subtext {
  margin: 0 0 28px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #5f615d;
}

/*
 * JotForm's script embed renders real form markup inside this div â€”
 * no iframe. Selectors below target JotForm's own default class
 * names (form-line, form-label, form-textbox, etc.). VERIFY these
 * against the actual rendered DOM once the real form is embedded â€”
 * JotForm's default classes can vary slightly by form theme/version,
 * so treat this as a starting point, not a guarantee.
 */
.cg-contact-split__jotform .form-line {
  margin-bottom: 20px;
}

.cg-contact-split__jotform .form-label {
  display: block;
  margin-bottom: 6px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #373a36;
}

.cg-contact-split__jotform .form-textbox,
.cg-contact-split__jotform .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d2c9;
  border-radius: 2px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  color: #373a36;
}

.cg-contact-split__jotform .form-submit-button {
  background: #ee7623;
  border: none;
  border-radius: 2px;
  padding: 14px 32px;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cg-contact-split__jotform .form-submit-button:hover {
  background: #d6631a;
}

/*
 * "Best time to reach you" bordered icon-checkbox cards â€” this is
 * custom card styling on top of a JotForm checkbox field, not a
 * native JotForm layout. Selector is a placeholder; swap in the
 * actual wrapper class once you've built the field in JotForm's
 * builder and can inspect the rendered markup.
 */
.cg-contact-split__jotform .form-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #d5d2c9;
  border-radius: 6px;
  margin: 0 8px 8px 0;
}

.cg-contact-split__sidebar {
  position: sticky;
  top: 24px;
}

.cg-contact-split__sidebar-card {
  background: #f7f5f0;
  border-radius: 10px;
  overflow: hidden;
}

.cg-contact-split__map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: none;
}

.cg-contact-split__office-info {
  padding: 24px 26px 28px;
}

.cg-contact-split__info-block {
  padding: 16px 0;
  border-top: 1px solid #e6e2d9;
}

.cg-contact-split__info-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.cg-contact-split__info-label {
  display: block;
  margin: 0 0 8px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #004d71;
}

.cg-contact-split__info-block p {
  margin: 0 0 4px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #373a36;
}

.cg-contact-split__info-block a {
  color: #1b6ea8;
  text-decoration: none;
}

.cg-contact-split__info-block a:hover {
  text-decoration: underline;
}

.cg-contact-split__directions,
.cg-contact-split__fine-print {
  font-size: 13px !important;
  color: #7a7c77 !important;
}

@media (max-width: 900px) {
  .cg-contact-split__inner {
    grid-template-columns: 1fr;
  }

  .cg-contact-split__sidebar {
    position: static;
  }
}


/* ==========================================================
   4. PROCESS STEPS â€” standalone vertical timeline
   ========================================================== */

.cg-process {
	background: #f7f5ef;

	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);

	padding: 68px 0 76px;
}

.cg-process__heading {
  margin: 0 0 40px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  color: #373a36;
}

.cg-process__steps {
  max-width: 820px;
}

.cg-process__step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 22px;
  padding-bottom: 30px;
}

.cg-process__step:last-child {
  padding-bottom: 0;
}

.cg-process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20.5px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: #d8d5ce;
}

.cg-process__step-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #93c47d;
  border-radius: 50%;
  background: #fff;

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #373a36;
}

.cg-process__step-content h3 {
  margin: 0 0 6px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #373a36;
}

.cg-process__step-content p {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: #4f524b;
}

.cg-process__disclaimer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #ddd9ce;
}

.cg-process__disclaimer p {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.7;
  color: #9b9b97;
}

@media (max-width: 768px) {
  .cg-process {
    padding: 54px 0 60px;
  }
}
/* ==========================================================
   JOTFORM EMBED
   ========================================================== */

.cg-contact-split__jotform {
	width: 100%;
	min-width: 0;
}

.cg-contact-split__jotform iframe {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}