:root {
  --nav-overlay-bg: rgba(0, 0, 0, 0.55);
}

.navbar-overlay {
  display: none;
}

body.nav-is-open {
  overflow: hidden;
}

.navbar-mobile-cta {
  display: none;
}

.reviews-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
}

.div-block-4 .div-block-21-2 {
  display: none;
}


@media (max-width: 1200px) {
  .paragraph-6.form-body {
    width: 75%;
  }

  .section-inner.home-about,
  .section-inner.home-hero,
  .content-box.home-about-copy,
  .content-box-left.home-about,
  .content-box-half.home-about,
  .content-box-half.home-about-copy,
  .content-box-center.home-about,
  .div-block-24,
  .for-buyers,
  .contact-main-inner,
  .footer-links-wrapper {
    gap: 2rem;
  }

  .contact-main-content {
    min-width: 0;
  }
}

@media (max-width: 992px) {
  .paragraph-6.form-body {
    width: 85%;
  }
  
  .text-block-copy-copy-copy,
  .text-block-2-copy-copy,
  .text-block-3-copy-copy {
    color: dimgray;
    font-weight: 400;

  }

  .navbar-inner {
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .navbar.navbar-inner {
    background-color: rgba(19, 19, 19, 0.85);
    backdrop-filter: blur(8px);
    justify-content: right;
    padding-right: 20px;
  }

  .navbar-menus {
    position: absolute;
    top: 20px;
    left: 12px;
    right: 12px;
    width: auto !important;
    max-width: none;
    max-height: calc(100vh - 24px);
    padding: 16px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    /* Smooth, GPU-accelerated open/close */
    transform: translate3d(0, -12px, 0) !important;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s linear, visibility 0s linear .22s;
    will-change: transform, opacity;
    backface-visibility: hidden;
    contain: layout paint;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-menus-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .navbar-link {
    font-size: 1.1rem;
    color: #111;
  }

  .navbar-open {
    display: flex;
  }

  .navbar-close {
    display: flex;
    position: absolute;
    top: 12px;
    right: 12px;
    color: #111;
  }

  .navbar-menus.is-open {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
    transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s linear;
  }

  .navbar-menus-list,
  .navbar-item {
    transform: none !important;
  }

  .navbar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 180;
    display: none;
  }
  .navbar-overlay.is-visible {
    display: block;
  }

  .home-hero-heading-copy, 
  .text-span-3 {
    font-size: 2.7rem;
  }

  .paragraph.home-feature-listing-text {
    font-weight: 300;
  }

  .div-block-4 {
    flex-direction: column;
    gap: 1.25rem;
  }

  .navbar .div-block-21 {
    display: none;
  }

  .div-block-4 .div-block-21-2 {
    display: inline;
  }

  .navbar-mobile-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
  }
  .navbar-mobile-cta .button-secondary-cta,
  .navbar-mobile-cta .button-box {
    width: 100%;
  }

  .section-inner.home-hero,
  .section-inner.home-about,
  .content-box.home-about,
  .content-box.home-about-copy,
  .content-box-left.home-about,
  .content-box-half.home-about,
  .content-box-half.home-about-copy,
  .div-block-28,
  .contact-main-inner,
  .footer-links-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .div-block-24,
  .for-buyers {
    width: 100%;
  }

  .div-block-29,
  .div-block-31,
  .div-block-10,
  .form-block-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .div-block-18,
  .div-block-19,
  .div-block-10>*,
  .div-block-31>*,
  .form-block-copy>* {
    width: 100%;
  }

  .for-buyers-item,
  .div-block-23 {
    align-items: flex-start;
  }

  .div-block-27,
  .for-sellter-image {
    height: 20rem;
  }

  .agent-image {
    width: 100%;
  }

  .contact-main-inner {
    gap: 3rem;
  }

  .contact-form-block,
  .contact-form-wrapper,
  .contact-main-content,
  .div-block-17 {
    width: 100%;
  }

  .footer-links-wrapper {
    width: 100%;
  }

  .container-footer,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
  }

  .div-block-26-copy {
    width: 100%;
    text-align: left;
  }

  .div-block-26-copy .button-secondary-outline,
  .div-block-26-copy .button-box {
    width: 100%;
  }

  .navbar-mobile-cta .button-box,
  .navbar-mobile-cta .button-secondary-cta{
    background-color: var(--black-back) !important;
  }
  .button-secondary-cta:hover {
    border: none;
  }

  .for-sellers-body-items {
    flex-flow: row;
  }

  .div-block-10 {
    flex-flow: row;
  }

  .div-block-32 {
    justify-content: left;
  }

  /* .workwithmeimage {
    height: 25rem;
  } */

  .bold-text-3-copy {
    font-size: 22px;
  }

  .footer-links-wrapper {
    flex-direction: row;
  }
  .footer-bottom {
    bottom: -35px;
    left: 0;
  }
  
  .footer-bottom .text-block-10 {
    color:  black !important;
  }
  .aaron-footer {
    font-size: 152px;
    inset: auto 14px 65px auto;
  }
}

@media (max-width: 768px) {
  
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  .navbar-inner {
    padding: 1.25rem 1.5rem;
  }

  .navbar-menus {
    width: min(20rem, 80%);
    padding: 1.75rem 2.5rem;
  }

  .section-padding-footer {
    padding-left: clamp(1.25rem, 6vw, 1.75rem);
    padding-right: clamp(1.25rem, 6vw, 1.75rem);
  }

  .div-block-27,
  .for-sellter-image,
  .agent-image {
    height: 16rem;
  }

  .footer-social-icons {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
  }

  .image-8 {
    margin-top: 2rem;
  }

  .for-sellers-body-items {
    flex-flow: column;
  }
  .aaron-footer {
    font-size: 133px;
    margin-bottom: 0px;
  }

  .container-footer {
    padding: 40px 40px 0;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .navbar-inner {
    padding: 1.125rem 1.25rem;
  }

  .navbar-menus {
    width: 100%;
    max-width: none;
    padding: 1.5rem 2.25rem;
  }

  .navbar-toogler-bar {
    width: 24px;
  }

  .div-block-24,
  .for-buyers {
    gap: 1.25rem;
  }

  .footer-links-wrapper {
    gap: 2rem;
  }

  .footer-link-column {
    width: 100%;
  }

  .for-buyers {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-wrapper {
    flex-direction: column;
  }
  .container-footer {
    padding: 20px 20px 0;
  }
  .margin-bottom.form-left-padding {
    padding-left: 0px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .agent-image {
    height: 14rem;
  }

  .footer {
    margin-top: 350px;
}

  .aaron-footer {
    font-size: 125px;
    margin-bottom: -5px;
}
}

@media (min-width: 993px) and (max-width:1061px) {
  .div-block-29 {
    flex-direction: column;
  }
}


/* --- Reviews section overrides (scoped) --- */
#reviews{position:relative;z-index:1;}
#reviews .container{max-width:1160px;margin:0 auto;}
#reviews .center-header{text-align:center;max-width:820px;margin:0 auto 40px;}
#reviews .section-header-content .paragraph-6{max-width:720px;margin:0 auto;}

/* Horizontal carousel */
#reviews .review_scroll-container{
  position:relative;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding:8px 8px 12px;
  mask-image:linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
  -webkit-mask-image:linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
}
#reviews .review_cards-wrap{
  display:inline-flex;
  flex-wrap:nowrap;
  gap:24px;
  width:max-content;
}
#reviews .review_card{
  flex:0 0 360px;
  scroll-snap-align:start;
  user-select:none;
  cursor:grab;
  border-radius:20px;
  padding:28px;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.06);
}
#reviews .review_card.bg-secondary{background:#f4f6f8;}
#reviews .review_card.bg-tertiary{background:#111;color:#fff;border-color:transparent;}
#reviews .review_card .text-xl{line-height:1.5;}
#reviews .review_card.bg-tertiary .text-xl{color:#fff;}
#reviews .review_name-wrap{display:flex;align-items:center;gap:12px;margin-top:28px;}
#reviews .image_user img{width:48px;height:48px;border-radius:50%;display:block;}
#reviews .review_name .text-xl{font-weight:600;}
#reviews .review_name .text-base{opacity:.8;}
#reviews .review_scroll-container::-webkit-scrollbar{height:8px}
#reviews .review_scroll-container::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:4px}

.review_card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.review_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width:991px){#reviews .review_card{flex-basis:320px}}
@media (max-width:767px){#reviews .review_card{flex-basis:85%}#reviews .center-header{margin-bottom:28px}}
/* --- End Reviews section overrides --- */
/* --- End --- */

/* --- Reviews: stack on <=768px with Show More --- */
@media (max-width: 768px) {
/* --- Reviews: stack on <=768px with Show More --- */
@media (max-width: 768px) {
  #reviews .review_scroll-container {
    overflow-x: hidden;
    padding: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  #reviews .review_cards-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  #reviews .review_card {
    flex: none;
    width: 100%;
    cursor: default;
    scroll-snap-align: none;
  }

  #reviews .show-more-wrap {
    display: block;
    text-align: center;
    margin-top: 12px;
  }

  #reviews .review_card.is-hidden-mobile {
    display: none;
  }
}
/* --- End Reviews mobile layout --- */
}

#form-builder .ghl-form-wrap {
  max-width: 100% !important;
}
.hl-app .form-builder--wrap {
  width: 100% !important;
  max-width: 100% !important;
}
#form-builder .hl-app .ghl-form-wrap {
  max-width: 100% !important;
  width: 100% !important;
}