
/* =========================================================
   RESPONSIVE  - BIG DESKTOP
========================================================= */
@media (min-width: 1500px) {
    .property-hero {
        min-height: 660px;
    }
    .property-hero-bg img {
        object-position: bottom;
    }
    .trust-bar-item.small-font .trust-bar-content h2 span {
        font-size: 19px;
    }
    .trust-bar-content h2, .trust-bar-content .trust-rating-stars span {
         font-size: 21px;
    }
    .trust-bar-content h2 span {
        font-size: 16px;
    }
    .trust-bar-content p {
        font-size: 15px;
    }
    .trust-bar-icon{
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }
    .trust-bar-icon svg {
        width: 50px;
        height: 50px;
    }
    .how-step-icon svg {
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   1200  - SMALL DESKTOP
========================================================= */
@media (max-width: 1199.98px) {
    .site-header .navbar-nav {
        gap: 20px;
    }
    .site-header .dropdown-toggle::after {
        position: relative;
        top: 2px;
    }
    .site-header .nav-link {
        font-size: 16px;
    }
    .header-actions {
        margin-left: 25px;
        gap: 12px;
    }
    .header-actions .cg-btn {
        display: none;
    }
    .how-step-icon
 {
        width: 62px;
        height: 62px;
 }

/* =========================================================
   Hero 
========================================================= */
    .property-hero {
        min-height: 520px;
    }
    .property-hero-content {
        max-width: 610px;

        padding: 54px 0;
    }
    .property-hero h1 {
        font-size: 48px;
    }
    .property-hero-description {
        max-width: 500px;
    }
/* =========================================================
   TRUST BAR 
========================================================= */
    .trust-bar-item {
        padding: 22px 18px;
        gap: 14px;
    }
    .trust-bar-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
    .trust-bar-icon svg {
        width: 31px;
        height: 31px;
    }
     .trust-bar-content h2, .trust-bar-content .trust-rating-stars span{
        font-size: 19px;
    }

    .trust-bar-content h2 span {
       
    }
    .trust-bar-content p {
        font-size: 13px;
    }
    .trust-bar-item.small-font .trust-bar-content h2 span {
        font-size: 19px;
    }
/* =========================================================
   FIND MY DESIGN - SECTION 
========================================================= */    
    .find-design-panel {
        padding: 0px;
    }
    .find-design-left {
        padding-right: 28px;
    }
    .find-design-right {
        padding-left: 28px;
    }
    .find-design-heading h2,
    .how-heading h3,
    .block-check-intro h2, .browse-designs-copy h2, .real-projects-copy h2, .qa-intro h2, .why-cgfb-intro h2, .wizard-heading h2, .ready-box h2, .results-heading h2, .block-possibilities-heading h3 {
        font-size: 28px;
    }
    .how-steps {
        gap: 14px;
    }
    .how-icon {
        width: 70px;
        height: 70px;
    }
    .how-icon svg {
        width: 41px;
        height: 41px;
    }
     .find-design-right {
        padding-left: 28px;
    }

    .how-step-row {
        grid-template-columns: 42px 62px minmax(0, 1fr);

        gap: 14px;
    }

    .how-step-icon {
        width: 60px;
        height: 60px;
    }

    



   

    .quick-filter-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .design-count-badge {
        bottom: unset;
        top: 20px;
    }

    .how-step-icon
 {
        width: 62px;
        height: 62px;
 }


}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 991.98px) {
     .cg-container {
        width: min(100% - 40px, 1360px);
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .site-header {
        position: relative;
        z-index: 9999;
    }

    .site-header .navbar {
        position: relative;
        padding: 0;
        overflow: visible;
    }

    .site-header .cg-container {
        position: relative;
        overflow: visible;
    }

    .header-inner {
        width: 100%;
        min-height: 76px;

        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: nowrap;

        padding: 0;
    }


    /* LOGO */

    a.navbar-brand.site-logo {
        margin: 0 !important;
        padding: 0;
    }

    .site-logo img {
        width: 160px;
        display: block;
    }


    /* TOGGLER */

    .navbar-toggler {
        margin: 0 0 0 auto;

        border-color: var(--cg-border);
        border-radius: 6px;

        box-shadow: none !important;
    }


    /* =====================================================
       COLLAPSED MENU - OVERLAY
    ===================================================== */

    .site-header .navbar-collapse,
    .site-header .navbar-collapse.collapsing {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        z-index: 9999;

        margin: 0;
        padding: 8px 14px 16px;

        background: var(--cg-white);

        border-top: 1px solid var(--cg-border);

        box-shadow: 0 14px 30px rgba(32, 37, 31, .14);

        max-height: calc(100vh - 76px);

        overflow-x: hidden;
        overflow-y: auto;
    }


    /* optional: cleaner bootstrap opening animation */

    .site-header .navbar-collapse.collapsing {
        transition: none;
    }


    /* NAV */

    .site-header .navbar-nav {
        width: 100%;

        display: block;

        margin: 0 !important;
        padding: 0;
    }

    .site-header .nav-item {
        width: 100%;
    }

    .site-header .nav-link {
        width: 100%;

        padding: 14px 2px !important;

        display: flex;
        align-items: center;
        justify-content: space-between;

        border-bottom: 1px solid #EEF1F2;
    }


    /* DROPDOWNS */

    .site-header .dropdown-menu {
        position: static !important;

        width: 100%;

        margin: 0;
        padding: 5px 0;

        transform: none !important;

        border: 0;
        border-radius: 0;

        background: var(--cg-soft-grey);

        box-shadow: none;
    }


    /* PHONE + CTA */

    .site-header .header-actions {
        width: 100%;

        margin: 14px 0 0;

        display: flex;
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .site-header .header-phone {
        display: flex !important;

        margin: 0;
        padding: 7px 0;

        align-items: center;

        gap: 8px;
    }

    .site-header .header-actions .cg-btn {
        width: 100%;
    }
 /* =========================================================
   Hero - TABLET
========================================================= */   
    .property-hero {
        min-height: 500px;
    }
    .property-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(16, 25, 22, .94) 0%,
                rgba(16, 25, 22, .82) 48%,
                rgba(16, 25, 22, .28) 76%,
                rgba(16, 25, 22, .08) 100%
            );
    }
    .property-hero-content {
        max-width: 580px;
        padding: 48px 0;
    }
    .property-hero h1 {
        font-size: 44px;
    }
    .property-search-form {
        max-width: 580px;
    }

/* =========================================================
   TRUST BAR - TABLET
========================================================= */
    .trust-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trust-bar-item {
        min-height: 120px;
    }
    .trust-bar-item:nth-child(2) {
        border-right: 0;
    }
    .trust-bar-item:nth-child(1),
    .trust-bar-item:nth-child(2) {
        border-bottom: 1px solid var(--cg-border);
    }

/* =========================================================
   FIND MY DESIGN - SECTION 
========================================================= */  
    .find-design-panel {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .find-design-left {
        padding-right: 0;
        padding-bottom: 34px;
        border-right: 0;
        border-bottom: 1px solid var(--cg-border);
    }
    .find-design-right {
        padding-left: 0;
    }
    .find-design-privacy {
        margin-top: 32px;
    }

    .find-design-right {
        padding-left: 0;
    }

    .how-step-copy p {
        max-width: none;
    }
    





      .browse-designs-top {
        grid-template-columns: 1fr;
    }

    .browse-designs-copy {
        padding: 32px;
    }

    .browse-designs-visual {
        min-height: 300px;
    }

    .browse-designs-visual::before {
        display: none;
    }

    .browse-design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 767.98px) {
.property-hero h1 br{
    display: none;
}
    .cg-container {
        width: min(100% - 32px, 1360px);
    }

    .section {
        padding: 48px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading.center {
        text-align: left;
    }

    .row-heading {
        display: block;
    }

    .row-heading .text-link {
        margin-top: 14px;
    }

    .desktop-only {
        display: none;
    }

    .only-mobile {
        display: block;
    }



   .property-hero {
    min-height: auto;

    display: block;
}


/*
 * Mobile image remains visible,
 * but content readability gets priority.
 */
.property-hero-bg {
    position: relative;

    height: 285px;
}


.property-hero-bg::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(32, 37, 31, 0) 35%,
            rgba(32, 37, 31, .18) 100%
        );
}


.property-hero-bg img {
    object-position: center;
}


.property-hero-overlay {
    display: none;
}


.property-hero-container {
    background: var(--cg-dark);
     background: #000;
}


/* Content */

.property-hero-content {
    max-width: none;

    padding: 30px 0 32px;
}


.property-hero-eyebrow {
    margin-bottom: 10px;

    font-size: 15px;
}


.property-hero h1 {
    max-width: 540px;

    font-size: 38px;
    line-height: 1.05;

    letter-spacing: -.6px;
}


.property-hero-line {
    width: 58px;
    height: 3px;

    margin: 16px 0;
}


.property-hero-description {
    max-width: 540px;

    margin-bottom: 20px;

     line-height: 1.45;
}


/* Search */

.property-search-form {
    max-width: none;

    padding: 12px;
}


.property-search-row {
    grid-template-columns: 1fr;

    gap: 9px;
}


.property-address-field,
.property-search-btn {
    min-height: 52px;
}


.property-search-btn {
    width: 100%;
    min-width: 0;
}


.property-search-note {
    margin-top: 10px;

    font-size: 12px;
} 

/* =========================================================
   FIND MY DESIGN - SECTION 
========================================================= */  
    .find-design-section {
        padding: 40px 0;
    }
    .find-design-panel {
        padding: 0x;
    }
    .find-design-heading {
        align-items: center;
        margin-bottom: 22px;
    }
    .find-design-main-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }
    .find-design-heading h2,
    .how-heading h3,
    .block-check-intro h2, .browse-designs-copy h2, .real-projects-copy h2, .qa-intro h2, .why-cgfb-intro h2, .wizard-heading h2, .ready-box h2, .results-heading h2, .block-possibilities-heading h3
     {
        font-size: 26px;
    }
    .find-design-left > h3 {
        font-size: 20px;
    }
  
    .how-heading {
        display: block;
        text-align: left;
    }
    .how-heading h3 {
        margin-bottom: 4px;
    }
    .how-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }
    .how-steps::before {
        display: none;
    }
    .how-step p {
        max-width: 200px;
    }

    .browse-designs-section {
        padding: 48px 0;
    }

    .browse-designs-copy {
        padding: 26px 22px;
    }

   

    .browse-designs-copy > p:last-child {
        
    }

    .browse-designs-visual {
        min-height: 245px;
    }

    .quick-filter-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .browse-design-grid {
        grid-template-columns: 1fr;
    }

    .browse-designs-action {
        align-items: stretch;
        flex-direction: column;
    }

    .browse-all-btn {
        width: 100%;
        min-width: 0;
    }

    .browse-designs-action p {
        max-width: none;
        text-align: center;
    }
    
    .quick-design-search {
        position: unset;
        padding: 22px 0px;
    }


}


/* =========================================================
   575PX - MOBILE
========================================================= */

@media (max-width: 575.98px) {

/* =========================================================
   TRUST BAR - MOBILE
========================================================= */
    .trust-bar-grid {
        grid-template-columns: 1fr;
    }
    .trust-bar-item {
        min-height: auto;
        padding: 15px 4px;
        gap: 16px;
        border-right: 0 !important;
        border-bottom: 1px solid var(--cg-border);
    }
    .trust-bar-item:last-child {
        border-bottom: 0;
    }
    .trust-bar-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }
    .trust-bar-icon svg {
        width: 30px;
        height: 30px;
    }
    .trust-bar-content h2 span {
      
    }
   .trust-bar-content h2, .trust-bar-content .trust-rating-stars span {
        font-size: 17px;
    }
    .trust-bar-content p {
        max-width: none;
        font-size: 14px;
    }
    .trust-bar-item.small-font .trust-bar-content h2 span {
        font-size: 17px;
    }



   .how-heading {
        display: block;
        margin-bottom: 22px;
    }

    .how-heading h3 {
        margin-bottom: 4px;
    }

    .how-heading span {
        font-size: 18px;
    }


    /* Main vertical timeline */
    .how-steps-vertical {
        position: relative;
    }

    .how-steps-vertical::before {
        left: 18px;
        top: 18px;
        bottom: 18px;
    }




   

    .how-number {
        width: 36px;
        height: 36px;

        margin: 0;

        flex: 0 0 36px;

        font-size: 13px;
    }



 
    


    .how-step-copy h4 {
        width: 100%;

        margin: 0 0 6px;

     
        line-height: 1.25;
    }

    .how-step-copy p {
        width: 100%;
        max-width: none !important;

        margin: 0;

      
        line-height: 1.5;

        text-align: left;
    }


    /* divider */
    .how-step-row:not(:last-child) .how-step-copy {
        padding-bottom: 20px;

        border-bottom: 1px solid var(--cg-border);
    }


    /* Privacy */
    .find-design-privacy {
        margin-top: 8px;
        padding: 15px;

        align-items: flex-start;
    }






    .how-number {
        width: 36px;
        height: 36px;

        margin: 0;

        flex: 0 0 36px;

        font-size: 13px;
    }


    .how-steps-vertical::before {
        left: 18px;

        top: 18px;
        bottom: 18px;
        bottom: 140px;
    }


  



    


    /* CONTENT BELOW ICON */




    .how-step-copy h4 {
        width: 100%;

        margin: 0 0 6px;

   
        line-height: 1.25;

        white-space: normal;
    }


    .how-step-copy p {
        width: 100%;
        max-width: none !important;

        margin: 0;

  
        line-height: 1.5;

        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;

        text-align: left;
    }


    .how-step-row:not(:last-child) .how-step-copy {
        padding-bottom: 20px;

        border-bottom: 1px solid var(--cg-border);
    }




    
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    /* -----------------------------------------
       GLOBAL
    ----------------------------------------- */

    .cg-container {
        width: calc(100% - 28px);
    }

    .section {
        padding: 38px 0;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 27px;
        line-height: 1.08;
        letter-spacing: -0.3px;
    }

    .section-heading.center {
        text-align: left;
    }

    p {
      
        line-height: 1.45;
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .site-logo img {
        width: 130px;
    }


    .property-hero-bg {
        height: 235px;
    }


    .property-hero-content {
        padding: 26px 0 28px;
    }


    .property-hero-eyebrow, .section-eyebrow {
        font-size: 14px;
    }


    .property-hero h1 {
        font-size: 32px;
        line-height: 1.05;
    }


    .property-hero-description {
      
        line-height: 1.45;
    }


    .property-search-form {
        padding: 10px;
    }


    .property-address-field {
        padding: 0 13px;
    }


    .property-address-field input {
        font-size: 15px;
    }


    .property-search-btn {
        font-size: 18px;
    }


    .property-search-note {
        align-items: flex-start;
    }

/* =========================================================
   FIND MY DESIGN - SECTION 
========================================================= */ 
    .find-design-panel {
        padding: 0;
    }
    .find-design-heading {
        gap: 12px;
    }
    .find-design-heading h2,
    .how-heading h3,
    .block-check-intro h2, .browse-designs-copy h2, .real-projects-copy h2, .qa-intro h2, .why-cgfb-intro h2, .wizard-heading h2, .ready-box h2, .results-heading h2, .block-possibilities-heading h3 {
        font-size: 23px;
    }
    .find-design-input-wrap textarea {
        min-height: 180px;
        padding-left: 42px;
        font-size: 15px;
    }
    .find-design-btn {
        font-size: 16px;
    }
    .how-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .how-step {
        padding-bottom: 22px;
        border-bottom: 1px solid var(--cg-border);
    }
    .how-step:last-child {
        border-bottom: 0;
    }
    .how-number {
        margin-bottom: 14px;
    }
    .how-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 12px;
    }
    .how-step p {
        max-width: 260px;
    }
    .find-design-privacy {
        align-items: flex-start;
        padding: 16px;
    }
    .how-heading {
        display: block;

        margin-bottom: 18px;
    }

    .how-heading h3 {
        margin-bottom: 4px;
    }

    .how-step-row {
        min-height: 95px;

      grid-template-columns: 38px minmax(0, 1fr);

        gap: 11px;
    }
.how-step-row {
        grid-template-columns: 38px minmax(0, 1fr) !important;

        column-gap: 12px;
        row-gap: 8px;

        min-height: 0;
    }


    .how-step-icon {
        grid-column: 2;
        grid-row: 1;

        width: 48px;
        height: 48px;
    }


    .how-step-copy {
        grid-column: 2;
        grid-row: 2;

        width: 100%;
        min-width: 0;
    }


    .how-step-copy p {
        width: 100%;
        max-width: none !important;
    }

    .how-steps-vertical::before {
        left: 18px;
    }

    .how-number {
        width: 36px;
        height: 36px;

        border-width: 3px;

        font-size: 13px;
    }

    .how-step-icon {
        width: 50px;
        height: 50px;
    }

 
    

   
    


   

    .browse-designs-visual {
        min-height: 210px;
    }

    .design-count-badge {
        right: 12px;
      

        padding: 10px 12px;
    }

    .design-count-icon {
        width: 35px;
        height: 35px;
    }

    .quick-filter {
        padding: 9px;

        font-size: 14px;
    }

    .quick-filter i {
        font-size: 17px;
    }
    .block-summary-card {
        max-width: none;
        padding: 0 0 15px 0;
        border: none;
    }
    .real-projects-hero{
        display: none;
    }
    .qa-intro h2 br {
    display: none;
}

.slider-heading {
    flex-direction: column;
    gap: 12px;
}
.cg-btn,.browse-card-footer a,.find-design-btn, .block-new-search, .planning-details-btn, .qa-search-btn , .footer-find-design-btn{
    font-size: 18px;
}

}
@media (max-width: 360px){
    .property-address-field {
        gap: 7px;
    }
}

/* =========================================================
   DESKTOP HOVER DROPDOWNS
========================================================= */

@media (min-width: 992px) {
    .site-header .dropdown:hover>.dropdown-menu {
        display: block;
    }
}




/* =========================================================
   MOBILE MENU - FULL WIDTH WHITE BACKGROUND
========================================================= */

@media (max-width: 991.98px) {

    .site-header .navbar-collapse,
    .site-header .navbar-collapse.collapsing {

        /* Full viewport width */
        width: 100vw;

        left: 50%;
        right: auto;

        transform: translateX(-50%);

        /* Internal spacing */
        padding: 8px 20px 16px;

        background: var(--cg-white);

        box-shadow: 0 14px 30px rgba(32, 37, 31, .14);
    }


    .site-header .navbar-nav {
        width: 100%;
    }


    .site-header .nav-link {
        width: 100%;

        padding: 14px 0 !important;
    }


    .site-header .header-actions {
        width: 100%;

        margin: 14px 0 0;
    }

}


/* SMALL MOBILE */
@media (max-width: 480px) {

    .site-header .navbar-collapse,
    .site-header .navbar-collapse.collapsing {
        padding-left: 14px;
        padding-right: 14px;
    }
.find-design-heading.align-item-top .find-design-main-icon.find-design-main-icons {
    display: none;
}
  


}



