.page-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #202936;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/services-hero-bg.png') center / cover no-repeat;
  z-index: 0;
}


.page-hero {
   
    min-height: 400px !important;
   
}
.page-hero .site-header {
  position: relative;
  z-index: 50;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 16px;
  color: #FFFFFF;
}

.breadcrumb a {
  transition: color .2s;
}

.breadcrumb a:hover {
  color: #FFFFFF;
}

.breadcrumb-sep {
  font-size: 16px;
  color: rgba(255, 255, 255, .45);
}

.page-hero-title {
  font-family: var(--font-title);
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.5px;
  margin-bottom: 18px;
}

.page-hero-sub {
  color: #FFFFFF;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  max-width: 680px;
}


.svc-section {
  padding: 76px 0 80px;
  background: #fff;
}

.svc-section--alt {
  background: #f7f7f9;
}


.svc-heading {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 22px;
  justify-content: center;
  width: 100%;
}


.svc-heading-line {
  flex: 1;
  height: 2px;
  background: var(--red); 
  max-width: none;
}

.svc-heading-line:first-child {
  margin-right: 22px;
}


.svc-heading-line:last-child {
  margin-left: 22px;
}


.svc-section--alt .svc-heading-line {
  background: var(--navy);
}

.svc-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: 40px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-intro {
  text-align: center;
  color: #707372;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  max-width: 80%;
  margin: 0 auto 52px;
}

.svc-intro--brief {
  max-width: 50%;
}


.svc-cards {
  display: grid;
  gap: 20px;
  justify-content: center;
}

.svc-cards--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.svc-cards--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 740px;
  margin: 0 auto;
}

.svc-cards--1 {
  grid-template-columns: 1fr;
  max-width: 380px;
  margin: 0 auto;
}


.svc-card {
  background: #fff;
  border: 1px solid #d8d8e8;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(7, 7, 101, .18);
}


.svc-card-icon {
  width: 100%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 28px;
  height: 164px;
}

.svc-card-body-inner {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 12px;
}

.svc-card-desc {
  color: #707372;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  flex: 1;
  margin-bottom: 24px;
}

.svc-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  justify-content: flex-start;
  min-height: 92px;
}

.svc-card-actions > button:only-child {
  flex: 1 1 100%;
  width: 100%;
  align-self: flex-start;
}

.btn-svc-secondary {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .4px;
  white-space: nowrap;
  cursor: pointer;
  transition: .25s;
  text-transform: uppercase;
}

.btn-svc-secondary:hover,.btn-svc-outline:hover {
    background: var(--navy2) !important;
    border-color: var(--gold) !important;
    transform: translateY(0px) !important;
    color:#fff;
}

.btn-svc-outline {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  background: #eef0f3;
  border: 1px solid #eef0f3;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .4px;
  white-space: nowrap;
  cursor: pointer;
  transition: .25s;
  text-transform: uppercase;
}

.btn-svc-outline:hover {
  background: var(--navy);
  color: #fff;
}



.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  padding: 44px 48px 48px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-top: 4px solid var(--navy); 
  transform: translateY(12px);
  transition: transform .28s ease;
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0);
}

.modal-box--wide {
  max-width: 940px;
}

.modal-box--inquiry {
  max-width: 620px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--navy);
}

.modal-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-right: 32px;
}

.modal-title--center {
  text-align: center;
  padding-right: 0;
}

.modal-desc {
  font-size: 16px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 26px;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-list > li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 10px;
}

.modal-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.modal-sublist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 8px;
}

.modal-sublist li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 6px;
}

.modal-sublist li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #888;
}

.modal-cols-4 {
  display: grid;
  grid-template-columns: 150px 1fr 180px 110px;
  gap: 24px 0;
  align-items: stretch;
}

.modal-cols-4 .modal-col {
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
  border-left: 1px solid #e6e6e6;
}

.modal-cols-4 .modal-col:first-child {
  padding-left: 0;
  border-left: none;
}

.modal-col h4 {
  font-family: var(--font-title);
  color: #707372;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

#modal-real-estate .modal-col h4 {
  font-size: 16px;
}

.modal-col ul {
  list-style: none;
  padding: 0;
}

.modal-col ul li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 6px;
}

.modal-col ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--navy);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-box--inquiry .inquiry-form .wpcf7 {
  width: 100%;
}

.modal-box--inquiry .inquiry-form .wpcf7-form {
  display: flex;
  flex-direction: column;
}

.modal-box--inquiry .inquiry-form .submit-btn {
  width: 100%;
  height: 50px;
  font-size: 13px;
  font-weight: 800;
}

.modal-box--inquiry .inquiry-form .wpcf7-response-output {
  margin-top: 16px;
}

.form-control--line {
  height: 46px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 0 4px;
  width: 100%;
  outline: none;
  background: transparent;
  margin-bottom: 20px;
  transition: border-color .2s;
}

.form-control--line:focus {
  border-bottom-color: var(--navy);
}

.form-select--inquiry {
  width: 100%;
  height: 46px;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 0 38px 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #777;
  margin-bottom: 24px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

.select-wrap--inquiry {
  margin-top: 0;
  margin-bottom: 24px;
}

.select-wrap--inquiry::after {
  right: 12px;
}

.select-wrap--inquiry .form-select--inquiry {
  margin-bottom: 0;
}

.submit-btn--inquiry {
  width: 100%;
  height: 50px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  transition: .25s;
  text-transform: uppercase;
}

.submit-btn--inquiry:hover {
  background: var(--navy2);
  border-color: var(--gold);
}

.modal-box--inquiry .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


@media (max-width: 991px) {
  .svc-cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-cards--2 {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .svc-cards--1 {
    max-width: 520px;
  }
  .modal-cols-4 {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .modal-cols-4 .modal-col,
  .modal-cols-4 .modal-col:first-child {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 220px;
    padding: 96px 0 42px;
  }
  .page-hero-title {
    font-size: 36px;
  }
  .svc-section {
    padding: 52px 0 58px;
  }
  .svc-title {
    white-space: normal;
    font-size: 28px;
  }
  .svc-intro,
  .svc-intro--brief {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }
  .svc-card-title {
    font-size: 20px;
  }
  .svc-card-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .svc-card-body-inner {
    padding: 20px 20px 24px;
  }
  .svc-card-actions {
    min-height: 0;
    gap: 8px;
  }
  .btn-svc-secondary,
  .btn-svc-outline {
    flex: 0 0 auto;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    font-size: 12px;
    padding: 0 10px;
    letter-spacing: 0.2px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  .svc-heading-line:first-child,
  .svc-heading-line:last-child {
    margin-right: 14px;
    margin-left: 14px;
  }
  .modal-box {
    padding: 32px 24px 36px;
  }
  .modal-cols-4 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 575px) {
  .svc-cards--3 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .svc-cards--2 {
    max-width: 100%;
  }
  .svc-cards--1 {
    max-width: 100%;
  }
  .svc-card-actions {
    flex-direction: column;
  }
  .btn-svc-secondary,
  .btn-svc-outline {
    width: 100%;
    flex: 0 0 auto;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
  }
  .modal-box--inquiry .form-row {
    grid-template-columns: 1fr;
  }
  .modal-box {
    padding: 28px 18px 32px;
  }
}
