@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.BTN_Blue {
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  color: #fff;
  margin: 10px 10px 40px;
  background-color: #99afba;
  background: linear-gradient(to right, #5e7581 50%, #99afba 50%);
  padding: 15px 30px 15px 30px;
  display: inline-block;
  font-size: 24px;
  line-height: 20px;
  text-decoration: none;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.3s ease;
}

.BTN_Blue:hover {
  background-position: left bottom;
}

.BTN_BlueB {
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  color: #fff;
  margin: 10px 10px 40px;
  background-color: #235062;
  background: linear-gradient(to right, #12303c 50%, #235062 50%);
  padding: 15px 30px 15px 30px;
  display: inline-block;
  font-size: 24px;
  line-height: 20px;
  text-decoration: none;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.3s ease;
}

.BTN_BlueB:hover {
  background-position: left bottom;
}

.BTN_Brown {
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  color: #fff;
  margin: 10px 10px 40px;
  background-color: #af593d;
  background: linear-gradient(to right, #8a4129 50%, #af593d 50%);
  padding: 15px 30px 15px 30px;
  display: inline-block;
  font-size: 24px;
  line-height: 20px;
  text-decoration: none;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.3s ease;
}

.BTN_Brown:hover {
  background-position: left bottom;
}

#ModalLaunch {
  cursor: pointer;
}

#VimeoModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  padding: 20px;
}

#VimeoModal.is-open {
  display: flex;
}

.VimeoModalDialog {
  position: relative;
  /*width: 80vw;
    max-width: 1280px;*/
    height: 90vh;
    max-height: 1000px;

}

.VimeoModalFrame {
  /*width: 100%;*/
  height: 80vh;
  aspect-ratio: 2 / 3;
  background: #000;
}

.VimeoModalFrame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.VimeoModalClose {
  position: absolute;
    top: -40px;
    right: 50%;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}

.White {
  color: #fff !important;
}
.LgcyHeroTxt {
  
  padding-top: 50px;
}
.BG_Card1 {
  background-image: url("/media/legacy/LGCY---tile-image-01_OP.jpg");
}

.BG_Card2 {
  background-image: url("/media/legacy/LGCY---tile-image-02_OP.jpg");
}

.BG_Card3 {
  background-image: url("/media/legacy/LGCY---tile-image-03_OP.jpg");
}

.BG_Card4 {
  background-image: url("/media/legacy/LGCY---tile-image-04_OP.jpg");
}

.BG_Card5 {
  background-image: url("/media/legacy/LGCY---tile-image-05_OP.jpg");
}
.BG_Card6 {
  background-image: url("/media/legacy/LGCY---tile-image-06_OP.jpg");
}
.BG_Card7 {
  background-image: url("/media/legacy/LGCY---tile-image-07_OP.jpg");
}
.BG_Card8 {
  background-image: url("/media/legacy/LGCY---tile-image-08_OP.jpg");
}
/* LegacyCards layout */

#InteriorContentSection142, #InteriorContentSection186 {position:relative;}

.HeroCurve::after {
    position: absolute;
    bottom: 0;
    content: url(/media/legacy/Hero-Curve.svg);
    display: inline-block;
    width: 100%;
}


#LegacyCards1,
#LegacyCards2 {
  display: flex;
  flex-wrap: wrap;
}

.LegacyCard {
  position: relative;
  padding: 20px;
  width: calc(50% - 20px);
  height: 410px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 20px;
  text-align: center;
  margin: 10px;
}

/* Gradient overlay sits on top of the background image */
.LegacyCard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.LegacyCard.Blue::before {
  background: linear-gradient(
    to bottom,
    rgba(35, 80, 98, 0.3) 0%,
    rgba(35, 80, 98, 0.98) 100%
  );
}

.LegacyCard.Brown::before {
  background: linear-gradient(
    to bottom,
    rgba(175, 89, 61, 0.3) 0%,
    rgba(175, 89, 61, 0.98) 100%
  );
}

/* All direct children sit above the gradient */
.LegacyCard > * {
  position: relative;
  z-index: 1;
  color: white;
}

/* Floral pattern SVG */
#LegacyCards1 img,
#LegacyCards2 img,
.LegacyCard img {
  max-width: 60px;
  margin-top: 25%;
}

#LegacyCards1 h3,
#LegacyCards2 h3 {
  font-size: 30px;
  line-height: 40px;
    padding: 10px 0;
}
#LegacyCards1 P,
#LegacyCards2 P {
  margin: 0px auto;
}

.LegacyCTA {
  position: relative;
  padding: 100px 0 150px 250px;
}

.BrownGradA + #InteriorContentWidth,
.BrownGradA + .InteriorContentWidth {
  background: linear-gradient(
    to left,
    rgba(175, 89, 61, 0) 0%,
    rgba(175, 89, 61, 0.8) 100%
  );
}
.ICW139 {
  background: linear-gradient(
    to left,
    rgba(175, 89, 61, 0) 0%,
    rgba(175, 89, 61, 0.8) 100%
  );
}

.LgcyPhone {
  position: relative;
}

/* ── ServiceIcons ───────────────────────────────────────────── */
#ServiceIcons {
  margin-top: 75px;
}
#ServiceIcons H2,
#ServiceIcons P {
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
}
#ServiceIcons ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 20px 0;
}

#ServiceIcons li {
  display: flex;
  align-items: center;
  width: calc(33.333% - 20px);
  margin: 10px;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 12px;
  gap: 10px;
  color: #fff !important;
}

#ServiceIcons li img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.BigTitleA {
  font-size: 60px;
  line-height: 64px;
  font-weight: 800;
  margin-top: 100px;
}
.BigTitle {
  font-size: 60px;
  line-height: 64px;
  font-weight: 800;
  margin-top: 20px;
}

.LgcyPrinciplesTxt {
  max-width: 480px;
  margin: 100px 0 0;
}
.LgcyPrinciples {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 100px 0;
}
.LgcyPrinciples li {
  width: 100%;
  max-width: none;
  text-align: left;
  color: #fff !important;
}
.LgcyPrinciplesTxt H3 {
  font-size: 56px;
    
}
.LgcyPrinciples li strong {
  font-size: 36px;
  line-height: 50px;
}
.LgcyPrinciples li span {
  display: block;
  font-size: 80px;
  line-height: 80px;
}



.LgcyPricing {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 2fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
}

.LgcyPricing li {
  position: relative;
  background: #c9d1d3;
  border-radius: 20px;
  padding: 58px 20px 20px;
  transition: background-color 0.3s ease;
  color: #235062 !important;
}

.LgcyPricing li:hover {
  background: #99afba;
}

.LgcyPricing .BlueCircle {
  position: absolute;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #235062;
  display: flex;
  align-items: center;
  justify-content: center;
}

.LgcyPricing .BlueCircle img {
  max-width: 42px;
  max-height: 42px;
}

.LgcyPricing .Price {
  font-size: 48px;
  font-weight: bold;
  display: block;
  margin-top: 20px;
  color: #235062 !important;
}
.LgcyPricing P {
  color: #235062 !important;
}

@media (max-width: 1710px) {
}

@media (max-width: 1450px) {
    #InteriorContentSection142{ background-position: -340px center;}
  .LgcyHeroTxt {
    
    padding-top: 50px;
  }
  .LegacyCard {
    height: 350px;
  }
  .LegacyCTA {
    position: relative;
    padding: 60px 0 50px 120px;
  }
}

@media (max-width: 1290px) {
  .LgcyHeroTxt {
    
    padding-top: 0px;
  }
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -270px center !important;
  }
    .BigTitleA {
    font-size: 50px;
    line-height: 60px;
    margin-top: 20px;
    }
  .BigTitle {
    font-size: 55px;
    line-height: 60px;
    margin-top: 0px;
  }
  .LegacyCard {
    height: 330px;
  }
  .LgcyPrinciples li strong {
    font-size: 24px;
  }
  .LgcyPrinciples LI {
    font-size: 18px !important;
    line-height: 22px !important;
  }
    .LegacyCard {
        height: 360px;
    }
}

@media (max-width: 970px) {
    .BigTitleA {
    font-size: 42px;
    line-height: 50px;
    margin-top: 20px;
    }
  .BigTitle {
    font-size: 42px;
    line-height: 50px;
  }
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -670px center !important;
  }
  .LgcyHeroTxt {
    padding-left: 0px;
    padding-top: 0px;
  }
  .LgcyPrinciplesTxt H3 {
    font-size: 46px;
  }
    .LgcyPrinciples li span {
      font-size: 65px;
      line-height: 65px;
    }
  .LgcyPricing {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .LgcyPricing li {
    width: 100%;
    max-width: 520px;
  }
  .LegacyCTA {
    padding: 30px 0 20px 60px;
  }
    
}

@media (max-width: 770px) {
  #ServiceIcons li {
    width: calc(50% - 20px);
  }
  .BigTitle {
    font-size: 40px;
    line-height: 50px;
  }
  .LgcyHeroTxt {
    width: 64% !important;
  }
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -375px center !important;
  }
  .LegacyCTA {
    padding: 0px 0 0px 0px;
  }

}



@media (max-width: 700px) {
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -365px center !important;
  }

  .LgcyHeroTxt {
    width: 80% !important;
  }
  .BlueCardText {
    width: 100% !important;
  }

  .LgcyPrinciples {
    grid-template-columns: 1fr;
  }

  .LgcyPricing {
    grid-template-columns: 1fr;
  }

  .LegacyCard {
    width: 100%;
    max-width: 100%;
  }
  .LegacyCTA {
    width: 75% !important;
  }
  .LgcyPhone img {
    padding-top: 128px;
  }
}








@media (max-width: 650px) {
        .BigTitleA {
        font-size: 34px;
        line-height: 40px;
        margin-top: 10px;
    }
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -165px center !important;
  }
  .LgcyHeroTxt {
    width: 80% !important;
  }
  .BlueCardText {
    width: 100% !important;
  }

  .LgcyPrinciples {
    grid-template-columns: 1fr;
  }
    .LgcyPrinciples li span {
      font-size: 50px;
      line-height: 50px;
    }
    
.LgcyPrinciples li strong {
     line-height: 36px;
}
    
  .LgcyPricing {
    grid-template-columns: 1fr;
  }

  .LegacyCard {
    width: 100%;
    max-width: 100%;
  }
  .LegacyCTA {
    width: 75% !important;
  }
  .LgcyPhone img {
    padding-top: 60px;
  }
     .LegacyCard {
        height: 300px;
    }
    #LegacyCards1 img, #LegacyCards2 img, .LegacyCard img {
        margin-top: 15%;
    }
    
}

@media (max-width: 490px) {
    .BigTitleA {
        font-size: 40px;
        line-height: 50px;
    }
    .LgcyPhone img {
    padding-top: 0px;
  }
  #ServiceIcons li {
    width: calc(100% - 20px);
  }
  #InteriorContentSection142, #InteriorContentSection186 {
    background-position: -245px center !important;
  }
  #InteriorContentSection139 {
    background-position: -360px center !important;
  }
  .LgcyHeroTxt {
    width: 100% !important;
  }
    #LegacyCards1 img, #LegacyCards2 img, .LegacyCard img {
    margin-top: 20%;
    }
    #LegacyCards1 h3, #LegacyCards2 h3 {
    font-size: 30px;
    line-height: 33px;
    }

    .LgcyPricing P {
        color: #235062 !important;
        line-height: 32px;
    }
    .LgcyPrinciples { margin: 0 auto;
    display: contents;}   
}
@media (max-width: 330px) {
  #InteriorContentSection139 {
    background-position: -670px center !important;
  }
    
    #LegacyCards1 h3, #LegacyCards2 h3 {
        font-size: 25px;
        line-height: 30px;
        padding: 10px 0 0 0;
    }

}
