/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-81 {
    padding: 0 1rem;
    padding-top: clamp(12.5rem, 25.95vw, 17.5rem);
    padding-bottom: clamp(6.25rem, 14.5vw, 10rem);
    position: relative;
    z-index: 1;
  }
  #hero-81:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #hero-81 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start; /* changed */
    gap: 3rem;
    flex-direction: column; /* added */
  }
  #hero-81 .cs-button-solid {
    align-self: flex-start;
  }  
  #hero-81 .cs-title {
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: left;
    max-width: 43.75rem;
    margin: 0 auto 1rem 0;
    color: #fff;
    position: relative;
  }
  #hero-81 .cs-text {
    font-size: clamp(1rem, 1.95vw, 1.25rem);
    line-height: 1.5em;
    text-align: left;
    max-width: 33.75rem;
    margin: 0 auto 0 0;
    margin-bottom: 2rem;
    color: #fff;
  }
  #hero-81 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 12.5rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #hero-81 .cs-button-solid:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--secondary);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width .3s;
  }
  #hero-81 .cs-button-solid:hover {
    color: var(--headerColor);
  }
  #hero-81 .cs-button-solid:hover:before {
    width: 100%;
  }
  #hero-81 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #hero-81 .cs-background:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .4;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #hero-81 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* ============================================
   Services 264 (fix spacing + clean mosaic)
   Paste this OVER your current #services-264 CSS
   ============================================ */

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  /* Section */
  #services-264 {
    padding: clamp(3rem, 6vw, 4.5rem) 1rem;
  }

  #services-264 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
  }

  /* Header content (fix the huge gap) */
  #services-264 .cs-content {
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
  }

  #services-264 .cs-topper {
    display: inline-block;
    margin: 0 0 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  #services-264 .cs-title {
    margin: 0;
  }

  #services-264 .cs-text {
    margin: 1rem auto 0;
    max-width: 40rem;
  }

  #services-264 .cs-button-solid {
    margin: 1.75rem auto 0;
  }

  /* Mosaic grid (pull it up closer to the button) */
  #services-264 .cs-mosaic {
    width: 100%;
    max-width: 80rem;
    margin: clamp(2.25rem, 4vw, 3.25rem) auto 0;
    padding: 0;
    list-style: none;

    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #services-264 .cs-tile {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: clamp(12rem, 45vw, 16rem);
    background: #e6e6e6; /* prevents ugly blank tiles if an image fails */
  }

  #services-264 .cs-tile-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
  }

  #services-264 .cs-tile-picture {
    position: absolute;
    inset: 0;
  }

  #services-264 .cs-tile-picture::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0.35;
    z-index: 1;
    transition: opacity 0.25s ease;
  }

  #services-264 .cs-tile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.25s ease;
  }

  #services-264 .cs-tile-label {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;

    font-weight: 800;
    font-size: 1.125rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  }

  #services-264 .cs-tile-link:hover .cs-tile-picture::before {
    opacity: 0.55;
  }

  #services-264 .cs-tile-link:hover .cs-tile-picture img {
    transform: scale(1.06);
  }
}

/* Tablet and up: mosaic layout (4 tiles then 2 wide tiles) */
@media only screen and (min-width: 48rem) {
  #services-264 {
    padding: clamp(3.5rem, 6vw, 5rem) 1rem;
  }

  #services-264 .cs-mosaic {
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }

  /* Top row: 4 across */
  #services-264 .cs-tile:nth-child(1),
  #services-264 .cs-tile:nth-child(2),
  #services-264 .cs-tile:nth-child(3),
  #services-264 .cs-tile:nth-child(4) {
    grid-column: span 3;
    min-height: 18rem;
  }

  /* Bottom row: 2 wide */
  #services-264 .cs-tile:nth-child(5),
  #services-264 .cs-tile:nth-child(6) {
    grid-column: span 6;
    min-height: 18rem;
  }
}

/* Desktop */
@media only screen and (min-width: 64rem) {
  #services-264 .cs-tile:nth-child(1),
  #services-264 .cs-tile:nth-child(2),
  #services-264 .cs-tile:nth-child(3),
  #services-264 .cs-tile:nth-child(4),
  #services-264 .cs-tile:nth-child(5),
  #services-264 .cs-tile:nth-child(6) {
    min-height: 19rem;
  }

  #services-264 .cs-tile-label {
    font-size: 1.25rem;
  }
}


/*-- -------------------------- -->
<---        Services            -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #h-services-81 {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -4rem;
  }
  #services-264 .cs-topper {
    margin-bottom: clamp(0.25rem, 1vw, 0.75rem);
  }
  
  
  #services-264 .cs-content {
    width: 100%;
    max-width: 42rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2rem);
  }
  
  #services-264 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sectionPadding);
  }
  
  #services-264 .cs-mosaic {
    margin-top: clamp(2rem, 5vw, 4rem);
  }
  
  
  #h-services-81 .cs-card-group {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
  }
  #h-services-81 .cs-item {
    list-style: none;
    width: 100%;
    max-width: 22.5rem;
    padding: 2rem 1.5rem;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  #h-services-81 .cs-icon {
    width: 3.25rem;
    height: auto;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #h-services-81 .cs-icon img {
    width: 100%;
    height: auto;
  }
  #h-services-81 .cs-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #h-services-81 .cs-text {
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    margin: 0;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #h-services-81 .cs-card-group {
    flex-wrap: nowrap;
  }
  #h-services-81 .cs-item {
    max-width: none;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #h-services-81 .cs-item {
    background-color: var(--medium);
  }
  body.dark-mode #h-services-81 .cs-title {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #h-services-81 .cs-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
}
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs-81 {
    padding: var(--sectionPadding);
  }
  #sbs-81 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbs-81 .cs-content {
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #sbs-81 .cs-text {
    margin-bottom: 1rem;
  }
  #sbs-81 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-81 .cs-ul {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #sbs-81 .cs-li {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    list-style: none;
    width: 100%;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
  }
  #sbs-81 .cs-li-icon {
    width: 1.5rem;
    height: auto;
    flex: none;
  }
  #sbs-81 .cs-picture {
    width: 100%;
    max-width: 39.375rem;
    height: 25rem;
    display: block;
    position: relative;
  }
  #sbs-81 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbs-81 .cs-container {
    flex-direction: row;
    justify-content: flex-start;
  }
  #sbs-81 .cs-content {
    width: 53%;
    max-width: 33.875rem;
  }
  #sbs-81 .cs-picture {
    width: 47vw;
    max-width: 39.375rem;
    height: clamp(25rem, 50vw, 43.75rem);
    position: relative;
  }
}
/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-45 {
    padding: var(--sectionPadding);
    position: relative;
    overflow: hidden;
  }
  #gallery-45 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-45 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-45 .cs-button-group {
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  #gallery-45 .cs-button {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: center;
    border: none;
    padding: 0.5rem 1.5rem;
    color: var(--bodyTextColor);
    background-color: transparent;
    border-radius: 0.25rem;
    transition: background-color 0.3s, color 0.3s;
  }
  #gallery-45 .cs-button:hover {
    cursor: pointer;
  }
  #gallery-45 .cs-button.cs-active {
    background-color: var(--primary);
    color: #fff;
  }
  #gallery-45 .cs-gallery-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  #gallery-45 .cs-gallery {
    width: 100%;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: transform 0.7s, opacity 0.3s, visibility 0.5s, top 0.3s, left 0.3s;
  }
  #gallery-45 .cs-gallery.cs-hidden {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
  }
  #gallery-45 .cs-image {
    width: 100%;
    height: clamp(15rem, 50vw, 25rem);
    display: block;
    position: relative;
  }
  #gallery-45 .cs-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-45 .cs-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}
/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #reviews-81 {
    padding: var(--sectionPadding);
    background-color: #f7f7f7;
  }
  #reviews-81 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #reviews-81 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #reviews-81 .cs-card-group {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
  }
  #reviews-81 .cs-item {
    list-style: none;
    width: 100%;
    max-width: 25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
  }
  #reviews-81 .cs-icon {
    width: 2.5rem;
    height: auto;
  }
  #reviews-81 .cs-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    color: var(--headerColor);
  }
  #reviews-81 .cs-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #reviews-81 .cs-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--headerColor);
    display: block;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #reviews-81 .cs-card-group {
    flex-wrap: nowrap;
  }
  #reviews-81 .cs-item {
    max-width: none;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #reviews-81 {
    background-color: rgba(0, 0, 0, 0.5);
  }
  body.dark-mode #reviews-81 .cs-item {
    background-color: var(--medium);
  }
  body.dark-mode #reviews-81 .cs-h3,
  body.dark-mode #reviews-81 .cs-name {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #reviews-81 .cs-item-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
}
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-51 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #cta-51 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  #cta-51 .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #cta-51 .cs-topper {
    color: var(--secondary);
  }
  #cta-51 .cs-title {
    color: #fff;
  }
  #cta-51 .cs-text {
    color: #fff;
    opacity: 0.8;
    margin-bottom: 2rem;
  }
  #cta-51 .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta-51 .cs-picture:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta-51 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}


@media only screen and (min-width: 48rem) {
  #gallery-45 .cs-image {
    height: 18rem;
  }
}

@media only screen and (min-width: 64rem) {
  #gallery-45 .cs-image {
    height: 20rem;
  }
}

/* Override homepage gallery to match portfolio style - SQUARE IMAGES */
@media only screen and (min-width: 0rem) {
  #gallery-45 .cs-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  #gallery-45 .cs-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Makes it square */
    position: relative;
    overflow: hidden;
  }
  
  #gallery-45 .cs-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (min-width: 48rem) {
  #gallery-45 .cs-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media only screen and (min-width: 64rem) {
  #gallery-45 .cs-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}


/*-- -------------------------- -->
<---            FAQ             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #faq-489 {
        padding: var(--sectionPadding);
        background: #fafbfc;
    }
    #faq-489 .cs-container {
        width: 100%;
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: clamp(2.5rem, 5vw, 3rem);
    }
    #faq-489 .cs-content {
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    #faq-489 .cs-color {
        color: var(--primary);
    }
    #faq-489 .cs-title {
        max-width: 22ch;
    }
    #faq-489 .cs-text {
        margin-bottom: clamp(2rem, 3vw, 3rem);
    }
    #faq-489 .cs-button-solid {
        font-size: 1rem;
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
    }
    #faq-489 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background-color: var(--secondary);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #faq-489 .cs-button-solid:hover:before {
        width: 100%;
    }
    #faq-489 .cs-faq-group {
        max-width: 46.25rem;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1.25rem;
    }
    #faq-489 .cs-faq-item {
        list-style: none;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #f1f1f4;
        transition: border 0.3s, padding 0.3s, border-color 0.3s;
    }
    #faq-489 .cs-faq-item:hover {
        border-color: var(--primary);
    }
    #faq-489 .cs-faq-item.active {
        padding-bottom: 1rem;
        border-color: var(--primary);
    }
    #faq-489 .cs-faq-item.active .cs-button {
        color: var(--primary);
    }
    #faq-489 .cs-faq-item.active .cs-button:before {
        transform: translateY(-50%) rotate(180deg);
        opacity: 0;
        background-color: var(--primary);
    }
    #faq-489 .cs-faq-item.active .cs-button:after {
        transform: translateY(-50%) rotate(360deg);
        background-color: var(--primary);
    }
    #faq-489 .cs-faq-item.active .cs-item-p {
        height: auto;
        margin-top: 0.5rem;
        opacity: 1;
    }
    #faq-489 .cs-button {
        font-size: clamp(1.25rem, 1vw, 1.5625rem);
        line-height: 1.2em;
        text-align: left;
        font-weight: bold;
        padding: 1rem 1.5rem;
        border: none;
        background: transparent;
        color: var(--headerColor);
        display: block;
        width: 100%;
        position: relative;
        transition: background-color 0.3s, color 0.3s;
    }
    #faq-489 .cs-button:hover {
        cursor: pointer;
    }
    #faq-489 .cs-button:before {
        content: "";
        width: 1rem;
        height: 0.1875rem;
        background-color: currentColor;
        opacity: 1;
        border-radius: 1px;
        position: absolute;
        display: block;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        transition: transform 0.5s, opacity 0.3s;
    }
    #faq-489 .cs-button:after {
        content: "";
        width: 1rem;
        height: 0.1875rem;
        background-color: currentColor;
        opacity: 1;
        border-radius: 1px;
        position: absolute;
        display: block;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%) rotate(90deg);
        transform-origin: center;
        transition: transform 0.5s;
    }
    #faq-489 .cs-button-text {
        width: 80%;
        display: block;
    }
    #faq-489 .cs-item-p {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        width: 90%;
        height: 0;
        margin: 0;
        box-sizing: border-box;
        padding: 0 1.5rem;
        opacity: 0;
        color: var(--bodyTextColor);
        overflow: hidden;
        transition: opacity 0.3s, padding-bottom 0.3s;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 48rem) {
    #faq-489 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3.25rem;
    }
    #faq-489 .cs-content {
        margin-top: 3.125rem;
    }
    #faq-489 .cs-title,
    #faq-489 .cs-topper {
        text-align: left;
        margin-left: 0;
    }
    #faq-489 .cs-faq-group {
        width: clamp(56%, 58vw, 58%);
        flex: none;
    }
}

/* ===============================
   Gallery CTA Button
   =============================== */

   .cs-button-1 {
    font-size: 1rem;
    line-height: clamp(2.875rem, 8vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    margin: 2.5rem auto 0;
    color: #fff;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
}

.cs-button-1:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background-color: var(--secondary);
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
}

.cs-button-1:hover:before {
    width: 100%;
}

/* Keep button centered inside gallery */
#gallery-45 .cs-button-1 {
    display: block;
    text-align: center;
}

/* ===============================
   Portfolio Gallery CTA Button
   =============================== */

/* Shared spacing for gallery CTA buttons */
#gallery-45 .cs-button-1 {
  margin-top: 3rem;
  display: block;
  text-align: center;
}

/* Portfolio page specific polish */
body.page-portfolio #gallery-45 .cs-button-1 {
  margin-top: 4rem;
}

/* Optional: slightly larger presence on portfolio page */
body.page-portfolio #gallery-45 .cs-button-1 {
  font-size: 1.05rem;
}


/* Dark Mode */
@media only screen and (min-width: 0rem) {
    body.dark-mode #faq-489 {
        background-color: rgba(0, 0, 0, 0.2);
    }
    body.dark-mode #faq-489 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #faq-489 .cs-title,
    body.dark-mode #faq-489 .cs-text,
    body.dark-mode #faq-489 .cs-item-p {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #faq-489 .cs-text,
    body.dark-mode #faq-489 .cs-item-p {
        opacity: 0.8;
    }
    body.dark-mode #faq-489 .cs-faq-item {
        border-color: rgba(255, 255, 255, 0.2);
    }
    body.dark-mode #faq-489 .cs-faq-item:hover {
        border-color: var(--primary);
    }
    body.dark-mode #faq-489 .cs-faq-item.active {
        border-color: var(--primaryLight);
    }
    body.dark-mode #faq-489 .cs-faq-item.active .cs-button {
        color: var(--primaryLight);
    }
    body.dark-mode #faq-489 .cs-faq-item.active .cs-button:before,
    body.dark-mode #faq-489 .cs-faq-item.active .cs-button:after {
        background-color: var(--primaryLight);
    }
    body.dark-mode #faq-489 .cs-button {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #faq-489 .cs-button:before,
    body.dark-mode #faq-489 .cs-button:after {
        background-color: var(--bodyTextColorWhite);
    }
}

/* TEMP: Disable old services section */
#h-services-81 {
  display: none;
}

