/* =========================
   PROFESSIONAL RESPONSIVE HEADER
========================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap{
  width: min(95%, 1440px);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* LEFT BRAND */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo{
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo{
  transform: scale(1.03);
}

.brand-name{
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DESKTOP NAV */
.main-nav{
  flex: 0 0 auto;
}

.main-nav ul{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a{
  position: relative;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.main-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #e29a33;
  transition: width 0.22s ease;
}

.main-nav a:hover{
  color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after{
  width: 100%;
}

.main-nav a.active{
  color: #ffffff;
}

/* Quote button — far-right accent CTA in nav */
.main-nav .nav-cta{
  margin-left: 18px;
}

.main-nav a.btn-nav-quote{
  background: #e29a33;
  color: #0f1318;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 18px rgba(226, 154, 51, 0.28);
}

.main-nav a.btn-nav-quote:hover{
  background: #d4892a;
  color: #0f1318;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(226, 154, 51, 0.38);
}

.main-nav a.btn-nav-quote::after{
  display: none;
}

.main-nav a.btn-nav-quote.active{
  background: #f8f3e2;
  color: #1f3766;
}

/* HAMBURGER */
.nav-toggle{
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.nav-toggle span{
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1){
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3){
  transform: translateY(-7.5px) rotate(-45deg);
}

/* TABLET */
@media (max-width: 1180px){
  .nav-wrap{
    min-height: 72px;
  }

  .brand-logo{
    height: 42px;
  }

  .brand-name{
    font-size: 0.93rem;
  }

  .main-nav ul{
    gap: 20px;
  }

  .main-nav a{
    font-size: 0.92rem;
  }
}

/* MOBILE NAV */
@media (max-width: 980px){
  .nav-wrap{
    min-height: 72px;
  }

  .nav-toggle{
    display: inline-flex;
    flex: 0 0 auto;
  }

  .main-nav{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(340px, 92vw);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .main-nav.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10,10,10,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    padding: 8px 0;
  }

  .main-nav li{
    width: 100%;
  }

  .main-nav a{
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.88);
  }

  .main-nav a::after{
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active{
    background: rgba(255,255,255,0.05);
    color: #ffffff;
  }
}

/* SMALL MOBILE */
@media (max-width: 640px){
  .nav-wrap{
    min-height: 68px;
    gap: 14px;
  }

  .brand{
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .brand-logo{
    height: 36px;
  }

  .brand-name{
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.15;
    max-width: 220px;
  }

  .nav-toggle{
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .main-nav{
    width: min(300px, 94vw);
  }

  .main-nav a{
    font-size: 0.95rem;
    padding: 15px 18px;
  }
}

/* ^^^^^^^^^HEADER^^^^^^^^^^ */

/* vvvvvvvFOOTERvvvvvvvv */

/* =========================
   PROFESSIONAL RESPONSIVE FOOTER
========================= */

.site-footer{
  background: #0b1016;
  color: #ffffff;
  margin-top: 0;
}

.footer-main{
  padding: 64px 0 34px;
  background: linear-gradient(rgba(8,13,20,0.94), rgba(8,13,20,0.94)),
    url("/images/optimized/window-cleaning-charleston-sc-after-hero-1600.jpg") center center / cover no-repeat;
  background: linear-gradient(rgba(8,13,20,0.94), rgba(8,13,20,0.94)),
    image-set(url("/images/optimized/window-cleaning-charleston-sc-after-hero-1600.avif") type("image/avif"), url("/images/optimized/window-cleaning-charleston-sc-after-hero-1600.jpg") type("image/jpeg")) center center / cover no-repeat;
}
@media (max-width: 768px){
.footer-main{
  background: linear-gradient(rgba(8,13,20,0.94), rgba(8,13,20,0.94)),
    image-set(url("/images/optimized/window-cleaning-charleston-sc-after-hero-960.avif") type("image/avif"), url("/images/optimized/window-cleaning-charleston-sc-after-hero-1600.jpg") type("image/jpeg")) center center / cover no-repeat;
}
}

.footer-container{
  width: min(94%, 1400px);
  margin: 0 auto;
}

.footer-main .footer-container{
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-column h3{
  color: #e29a33;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

/* brand area */
.footer-brand-link{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo{
  width: 82px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name{
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.footer-brand-sub{
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-description{
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 20px;
}

.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d6d49e;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social:hover{
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-social-icon{
  font-size: 1.5rem;
  line-height: 1;
}

/* links */
.footer-links{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a{
  color: rgba(255,255,255,0.8);
  font-size: 0.97rem;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover{
  color: #ffffff;
  transform: translateX(2px);
}

/* contact */
.footer-contact-item{
  margin-bottom: 16px;
}

.footer-label{
  display: block;
  color: #d6d49e;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.footer-contact-item p,
.footer-contact-item a{
  color: rgba(255,255,255,0.84);
  font-size: 0.97rem;
  line-height: 1.6;
  word-break: break-word;
}

.footer-contact-item a:hover{
  color: #ffffff;
}

.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #99a8c1, #a9b6cc);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 8px;
}

.footer-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.24);
  filter: brightness(1.03);
}

/* bottom bar */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #070b10;
}

.footer-bottom-inner{
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom p{
  color: rgba(255,255,255,0.66);
  font-size: 0.92rem;
}

.footer-bottom-links{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a{
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover{
  color: #ffffff;
}

/* responsive */
@media (max-width: 1180px){
  .footer-main .footer-container{
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand{
    grid-column: 1 / -1;
  }

  .footer-description{
    max-width: 700px;
  }
}

@media (max-width: 860px){
  .footer-main{
    padding: 54px 0 28px;
  }

  .footer-main .footer-container{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom-inner{
    padding: 16px 0;
  }
}

@media (max-width: 640px){
  .footer-main .footer-container{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-link{
    align-items: center;
  }

  .footer-logo{
    width: 70px;
  }

  .footer-brand-name{
    font-size: 1.02rem;
  }

  .footer-brand-sub{
    font-size: 0.88rem;
  }

  .footer-description,
  .footer-column,
  .footer-contact{
    max-width: 100%;
  }

  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-bottom-links{
    gap: 14px;
  }

  .footer-cta{
    width: 100%;
  }
}

/* =========================
   SHARED SEO / CONVERSION COMPONENTS
========================= */

/* <picture> wrappers behave like the bare <img> they replaced */
picture.bsp-pic{
  display: contents;
}

:where(.bsp-pic) img{
  height: auto;
}

/* Mobile header: click-to-call + quote */
.header-mobile-cta{
  display: none;
}

@media (max-width: 980px){
  .header-mobile-cta{
    display: flex;
    gap: 10px;
    width: min(95%, 1440px);
    margin: 0 auto;
    padding: 0 0 10px;
  }

  .header-mobile-cta a{
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-mobile-cta .hmc-call{
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.04);
  }

  .header-mobile-cta .hmc-quote{
    color: #0f1318;
    background: #e29a33;
    box-shadow: 0 6px 18px rgba(226, 154, 51, 0.28);
  }
}

@media (max-width: 380px){
  .header-mobile-cta a{
    font-size: 0.8rem;
    padding: 10px 8px;
  }
}

/* Footer service-area + service links */
.footer-areas{
  background: #0b1016;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.footer-areas .footer-label{
  margin: 10px 0 8px;
}

.footer-areas ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
}

.footer-areas a{
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-areas a:hover{
  color: #ffffff;
}

/* Section shell used by reviews / before-after / service areas */
.bsp-reviews,
.bsp-ba,
.bsp-areas{
  font-family: "Montserrat", sans-serif;
  padding: clamp(64px, 8vw, 96px) 0;
  color: #243446;
}

.bsp-reviews{ background: #f5f7fa; }
.bsp-ba{ background: #ffffff; }
.bsp-areas{ background: #ffffff; border-top: 1px solid rgba(20, 40, 70, 0.1); }

.bsp-wrap{
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
}

.bsp-kicker{
  margin: 0 0 10px;
  color: #e29a33;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bsp-reviews h2,
.bsp-ba h2,
.bsp-areas h2{
  margin: 0 0 12px;
  color: #142846;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bsp-lead{
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(20, 40, 70, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

/* Reviews */
.bsp-review-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bsp-review{
  margin: 0;
  padding: 26px 24px;
  background: #ffffff;
  border-top: 4px solid #e29a33;
  box-shadow: 0 14px 40px rgba(10, 18, 28, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bsp-stars{
  color: #e29a33;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.bsp-review blockquote{
  margin: 0;
  flex: 1 1 auto;
}

.bsp-review blockquote p{
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #243446;
}

.bsp-review figcaption{
  font-weight: 700;
  color: #142846;
  font-size: 0.92rem;
}

.bsp-review figcaption span{
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: #64748b;
}

.bsp-review-links{
  margin: 28px 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.bsp-review-links a{
  color: #1f3766;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Before / after */
.bsp-ba-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.bsp-ba-pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.bsp-ba-pair figure{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
}

.bsp-ba-pair img{
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.bsp-ba-pair figcaption{
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bsp-ba-pair figure + figure figcaption{
  background: rgba(226, 154, 51, 0.92);
  color: #050505;
}

.bsp-ba-item h3{
  margin: 16px 0 6px;
  color: #142846;
  font-size: 1.1rem;
}

.bsp-ba-item p{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service-area link grid */
.bsp-area-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.bsp-area-list a{
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(20, 40, 70, 0.14);
  border-left: 4px solid #e29a33;
  background: #ffffff;
  color: #1f3766;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bsp-area-list a:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 18, 28, 0.08);
}
