/* =========================
   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;
}

/* 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/window-cleaning/window-cleaning.jpg") 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%;
  }
}
