/* =========================
   HEADER
========================= */

.site-header{
  width:100%;
  background:#fff;
  border-bottom:1px solid #eee;
}

.header-container{
  max-width:1200px;
  margin:0 auto;
  padding:16px 24px;

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

  gap:30px;
}


/* =========================
   BRAND
========================= */

.brand{
  display:flex;
  align-items:center;
  gap:10px;

  text-decoration:none;
  color:#171717;

  flex-shrink:0;
}

.brand-logo{
  width:48px;
  height:48px;

  object-fit:contain;

  border-radius:50%;
}

.brand-name{
  font-size:25px;
  font-weight:800;
  letter-spacing:-.5px;

  white-space:nowrap;
}


/* =========================
   DESKTOP NAV
========================= */

.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;

  gap:30px;

  white-space:nowrap;
}

.main-nav a{
  color:#333;
  text-decoration:none;

  font-size:16px;
  font-weight:600;

  white-space:nowrap;
}

.main-nav a:hover,
.main-nav a.active{
  color:#ff5757;
}


/* =========================
   MENU BUTTON
========================= */

.menu-button{
  display:none;

  border:none;
  background:none;

  color:#171717;

  font-size:28px;

  cursor:pointer;
}


/* =========================
   MOBILE NAV
========================= */

.mobile-nav{
  display:none;

  position:relative;
  z-index:100;

  background:#fff;

  border-top:1px solid #eee;
  border-bottom:1px solid #eee;

  padding:10px 18px 18px;
}

.mobile-nav.open{
  display:flex;
  flex-direction:column;
}

.mobile-nav a{
  padding:15px 4px;

  border-bottom:1px solid #f0f0f0;

  color:#333;
  text-decoration:none;

  font-size:17px;
  font-weight:700;

  white-space:nowrap;
}

.mobile-nav a:last-child{
  border-bottom:none;
}

.mobile-nav a:hover,
.mobile-nav a.active{
  color:#ff5757;
}


/* =========================
   FOOTER
========================= */

.site-footer{
  padding:45px 24px 25px;

  border-top:1px solid #eee;

  background:#fff;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;

  display:flex;
  justify-content:space-between;

  gap:35px;
}

.footer-info{
  flex-shrink:0;
}

.footer-brand{
  font-size:22px;
  font-weight:900;

  margin-bottom:8px;

  white-space:nowrap;
}

.footer-tagline{
  color:#777;
}

.footer-right{
  flex:1;
  min-width:0;

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

  gap:16px;
}


/* =========================
   FOOTER LINKS
========================= */

.footer-links{
  width:100%;

  display:flex;
  align-items:center;
  justify-content:flex-end;

  gap:22px;

  white-space:nowrap;
}

.footer-links a{
  color:#444;
  text-decoration:none;

  font-size:14px;
  font-weight:600;

  white-space:nowrap;
}

.footer-links a:hover{
  color:#ff5757;
}


/* =========================
   FOOTER CONTACT
========================= */

.footer-contact{
  display:flex;
  align-items:center;
  justify-content:flex-end;

  gap:10px;
}

.footer-heading{
  color:#171717;

  font-size:14px;
  font-weight:800;

  white-space:nowrap;
}

.footer-email{
  color:#FF5757;

  font-size:14px;
  font-weight:600;

  white-space:nowrap;
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
  max-width:1200px;
  margin:38px auto 0;

  padding-top:20px;

  border-top:1px solid #eee;

  color:#999;

  font-size:13px;
}


/* =========================
   COMPACT / MOBILE LAYOUT

   As soon as desktop navigation
   becomes too narrow, switch
   directly to mobile navigation.
========================= */

@media(max-width:1100px){

  /* HEADER */

  .header-container{
    padding:12px 18px;
  }

  .brand-logo{
    width:42px;
    height:42px;
  }

  .brand-name{
    font-size:22px;
  }

  .main-nav{
    display:none;
  }

  .menu-button{
    display:block;
  }


  /* FOOTER */

  .footer-inner{
    display:flex;
    flex-direction:column;

    gap:0;
  }

  .footer-right{
    display:contents;
  }

  .footer-links{
    order:1;

    display:flex;
    flex-wrap:wrap;

    justify-content:flex-start;

    gap:14px 20px;

    margin-bottom:26px;

    white-space:normal;
  }

  .footer-info{
    order:2;

    margin-bottom:22px;
  }

  .footer-contact{
    order:3;

    justify-content:flex-start;
  }

}


/* =========================
   DESKTOP ONLY
========================= */

@media(min-width:1101px){

  .mobile-nav{
    display:none !important;
  }

}
