/* Start custom CSS for html, class: .elementor-element-dc6907d *//* =========================================================
   MBD ASSOCIATES
   CONTACT PAGE — HERO
========================================================= */

.mbd-contact-hero {
  position: relative;

  width: 100%;

  padding: 120px 0 0;

  background: #f6f2eb;

  color: #171717;

  overflow: hidden;
}


/* =========================================================
   INNER
========================================================= */

.mbd-contact-hero-inner {
  width: calc(100% - 100px);

  max-width: 1440px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.02fr 0.78fr;

  align-items: center;

  gap: 105px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.mbd-contact-hero-content {
  padding: 35px 0 80px;
}


/* EYEBROW */

.mbd-contact-eyebrow {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 27px;

  color: #71695f;

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


.mbd-contact-eyebrow-line {
  width: 38px;

  height: 1px;

  display: block;

  background: #315a9d;

  transform: scaleX(0);

  transform-origin: left;

  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   TITLE
========================================================= */

.mbd-contact-title {
  max-width: 760px;

  margin: 0;

  color: #171717;

  font-size: clamp(58px, 6vw, 92px);

  font-weight: 400;

  line-height: 0.96;

  letter-spacing: -0.06em;

  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.85s ease 0.08s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}


.mbd-contact-title span {
  display: block;

  margin-top: 7px;

  font-weight: 600;
}


/* =========================================================
   INTRO
========================================================= */

.mbd-contact-intro {
  max-width: 575px;

  margin: 32px 0 0;

  color: #5e5750;

  font-size: 16px;

  line-height: 1.8;

  letter-spacing: -0.01em;

  opacity: 0;

  transform: translateY(22px);

  transition:
    opacity 0.8s ease 0.17s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.17s;
}


/* =========================================================
   ACTIONS
========================================================= */

.mbd-contact-hero-actions {
  display: flex;

  align-items: center;

  gap: 28px;

  margin-top: 38px;

  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.75s ease 0.26s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.26s;
}


/* PRIMARY BUTTON */

.mbd-contact-primary {
  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: space-between;

  gap: 28px;

  min-width: 205px;

  min-height: 57px;

  padding: 0 10px 0 21px;

  background: #315a9d;

  color: #ffffff !important;

  text-decoration: none;

  font-size: 13px;

  font-weight: 500;

  overflow: hidden;

  isolation: isolate;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.mbd-contact-primary::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  background: #244b88;

  transform: translateY(101%);

  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.mbd-contact-primary:hover {
  background: #315a9d;

  color: #ffffff !important;

  transform: translateY(-3px);
}


.mbd-contact-primary:hover::before {
  transform: translateY(0);
}


.mbd-contact-primary > span {
  color: inherit !important;
}


/* PHONE ICON */

.mbd-contact-primary-icon {
  width: 36px;

  height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #ffffff;

  color: #315a9d !important;

  transition:
    transform 0.35s ease;
}


.mbd-contact-primary:hover
.mbd-contact-primary-icon {
  transform: scale(1.05);
}


/* SECONDARY */

.mbd-contact-secondary {
  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding-bottom: 8px;

  color: #292622;

  text-decoration: none;

  font-size: 13px;

  font-weight: 500;
}


.mbd-contact-secondary::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 100%;

  height: 1px;

  background: #292622;

  transform: scaleX(0.25);

  transform-origin: left;

  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.mbd-contact-secondary:hover::after {
  transform: scaleX(1);
}


.mbd-contact-secondary span {
  font-size: 16px;

  transition:
    transform 0.3s ease;
}


.mbd-contact-secondary:hover span {
  transform: translate(3px, -3px);
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.mbd-contact-hero-visual {
  position: relative;

  min-height: 670px;

  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.9s ease 0.2s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}


/* IMAGE */

.mbd-contact-visual-image {
  position: absolute;

  top: 0;

  right: 0;

  width: 88%;

  height: 610px;

  overflow: hidden;

  background: #ddd5ca;
}


.mbd-contact-visual-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(23,23,23,0) 55%,
      rgba(23,23,23,0.15) 100%
    );

  pointer-events: none;
}


.mbd-contact-visual-image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transform: scale(1.04);

  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.mbd-contact-hero.is-visible
.mbd-contact-visual-image img {
  transform: scale(1);
}


.mbd-contact-visual-image:hover img {
  transform: scale(1.045);
}


/* =========================================================
   LOCATION CARD
========================================================= */

.mbd-contact-location-card {
  position: absolute;

  left: 0;

  bottom: 25px;

  z-index: 3;

  width: 290px;

  padding: 28px 30px 27px;

  background: #ffffff;

  border: 1px solid rgba(23,23,23,0.06);

  box-shadow:
    0 20px 50px rgba(47, 38, 27, 0.10);

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.75s ease 0.55s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}


.mbd-contact-location-label {
  display: block;

  margin-bottom: 9px;

  color: #315a9d;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.mbd-contact-location-card strong {
  display: block;

  margin-bottom: 12px;

  color: #171717;

  font-size: 22px;

  font-weight: 600;

  letter-spacing: -0.025em;
}


.mbd-contact-location-card p {
  margin: 0;

  color: #6a625a;

  font-size: 12px;

  line-height: 1.65;
}


.mbd-contact-location-card a {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 18px;

  color: #171717;

  text-decoration: none;

  font-size: 12px;

  font-weight: 600;
}


.mbd-contact-location-card a span {
  transition:
    transform 0.3s ease;
}


.mbd-contact-location-card a:hover span {
  transform: translate(3px, -3px);
}


/* =========================================================
   BOTTOM INFORMATION
========================================================= */

.mbd-contact-hero-bottom {
  width: calc(100% - 100px);

  max-width: 1440px;

  margin: 0 auto;

  padding: 30px 0 28px;

  display: grid;

  grid-template-columns: 1fr 0.55fr 1fr;

  gap: 40px;

  border-top: 1px solid rgba(23,23,23,0.10);

  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 0.75s ease 0.45s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}


.mbd-contact-hero-bottom div {
  display: flex;

  flex-direction: column;

  gap: 5px;
}


.mbd-contact-hero-bottom span {
  color: #837a70;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


.mbd-contact-hero-bottom strong {
  color: #292622;

  font-size: 13px;

  font-weight: 500;
}


/* =========================================================
   REVEAL
========================================================= */

.mbd-contact-hero.is-visible
.mbd-contact-eyebrow,

.mbd-contact-hero.is-visible
.mbd-contact-title,

.mbd-contact-hero.is-visible
.mbd-contact-intro,

.mbd-contact-hero.is-visible
.mbd-contact-hero-actions,

.mbd-contact-hero.is-visible
.mbd-contact-hero-visual,

.mbd-contact-hero.is-visible
.mbd-contact-location-card,

.mbd-contact-hero.is-visible
.mbd-contact-hero-bottom {
  opacity: 1;

  transform: translateY(0);
}


.mbd-contact-hero.is-visible
.mbd-contact-eyebrow-line {
  transform: scaleX(1);
}


/* =========================================================
   ELEMENTOR EDITOR
========================================================= */

.elementor-editor-active
.mbd-contact-eyebrow,

.elementor-editor-active
.mbd-contact-title,

.elementor-editor-active
.mbd-contact-intro,

.elementor-editor-active
.mbd-contact-hero-actions,

.elementor-editor-active
.mbd-contact-hero-visual,

.elementor-editor-active
.mbd-contact-location-card,

.elementor-editor-active
.mbd-contact-hero-bottom {
  opacity: 1 !important;

  transform: none !important;
}


.elementor-editor-active
.mbd-contact-eyebrow-line {
  transform: scaleX(1) !important;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

  .mbd-contact-hero {
    padding-top: 105px;
  }


  .mbd-contact-hero-inner,
  .mbd-contact-hero-bottom {
    width: calc(100% - 70px);
  }


  .mbd-contact-hero-inner {
    gap: 65px;
  }


  .mbd-contact-hero-visual {
    min-height: 610px;
  }


  .mbd-contact-visual-image {
    height: 555px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .mbd-contact-hero {
    padding-top: 85px;
  }


  .mbd-contact-hero-inner {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  .mbd-contact-hero-content {
    padding: 25px 0 0;
  }


  .mbd-contact-title {
    max-width: 700px;
  }


  .mbd-contact-intro {
    max-width: 650px;
  }


  .mbd-contact-hero-visual {
    min-height: 600px;
  }


  .mbd-contact-visual-image {
    width: 88%;

    height: 530px;
  }


  .mbd-contact-hero-bottom {
    grid-template-columns: 1fr 1fr 1fr;

    margin-top: 10px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .mbd-contact-hero {
    padding-top: 70px;
  }


  .mbd-contact-hero-inner,
  .mbd-contact-hero-bottom {
    width: calc(100% - 36px);
  }


  .mbd-contact-eyebrow {
    gap: 10px;

    margin-bottom: 20px;

    font-size: 10px;
  }


  .mbd-contact-eyebrow-line {
    width: 25px;
  }


  .mbd-contact-title {
    font-size: clamp(45px, 13vw, 60px);

    line-height: 0.98;
  }


  .mbd-contact-intro {
    margin-top: 24px;

    font-size: 14px;

    line-height: 1.72;
  }


  .mbd-contact-hero-actions {
    align-items: flex-start;

    flex-direction: column;

    gap: 20px;

    margin-top: 30px;
  }


  .mbd-contact-primary {
    width: 100%;
  }


  .mbd-contact-secondary {
    margin-left: 2px;
  }


  .mbd-contact-hero-visual {
    min-height: 520px;
  }


  .mbd-contact-visual-image {
    width: 100%;

    height: 430px;
  }


  .mbd-contact-location-card {
    left: 12px;

    bottom: 0;

    width: calc(100% - 24px);

    padding: 22px 23px;
  }


  .mbd-contact-location-card strong {
    font-size: 20px;
  }


  .mbd-contact-hero-bottom {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-top: 35px;

    padding: 25px 0;
  }


  .mbd-contact-hero-bottom div {
    padding-bottom: 17px;

    border-bottom: 1px solid rgba(23,23,23,0.08);
  }


  .mbd-contact-hero-bottom div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .mbd-contact-eyebrow,
  .mbd-contact-title,
  .mbd-contact-intro,
  .mbd-contact-hero-actions,
  .mbd-contact-hero-visual,
  .mbd-contact-location-card,
  .mbd-contact-hero-bottom,
  .mbd-contact-eyebrow-line,
  .mbd-contact-visual-image img,
  .mbd-contact-primary,
  .mbd-contact-primary::before,
  .mbd-contact-primary-icon {
    transition: none !important;
  }

}/* End custom CSS */