/* ==========================================================
   FONT
   ========================================================== */

@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("../fonts/NHaasGroteskDSPro-55Rg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================
   GLOBAL
   ========================================================== */

:root {
  --font-main: "Neue Haas Grotesk", Arial, sans-serif;

  --type-large: 32px;
  --leading-large: 36px;

  --type-medium: 16px;
  --leading-medium: 21px;

  --type-small: 12px;
  --leading-small: 16px;

  --tracking: 0.04em;

  --columns: 12;
  --gutter: 40px;
  --margin: 20px;
}


/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--type-medium);
  line-height: var(--leading-medium);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.type-large {
  font-size: var(--type-large);
  line-height: var(--leading-large);
}

.type-medium {
  font-size: var(--type-medium);
  line-height: var(--leading-medium);
  letter-spacing: var(--tracking);
}

.type-small {
  font-size: var(--type-small);
  line-height: var(--leading-small);
  letter-spacing: var(--tracking);
}


/* ==========================================================
   GRID
   ========================================================== */

.container {
  width: 100%;
  padding-inline: var(--margin);
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  column-gap: var(--gutter);
}


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

@media (max-width: 1199px) {
  :root {
    --gutter: 30px;
    --margin: 20px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 10px;
    --margin: 20px;
  }
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  padding-top: 30px;
  padding-bottom: 20px;

  background: #fff;
}

.site-header .grid {
  align-items: start;
}

.nav-home {
  grid-column: 1 / 9;
  justify-self: start;
}

.nav-information {
  grid-column: 9 / 13;
  justify-self: start;
}


/* ==========================================================
   NAV LINKS
   ========================================================== */

.nav-home,
.nav-information {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.nav-home::after,
.nav-information::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -2px;

  width: 100%;
  height: 1px;

  background: currentColor;
  opacity: 0;
}

.nav-home:hover::after,
.nav-information:hover::after {
  opacity: 1;
}


/* ==========================================================
   HEADER — MOBILE
   ========================================================== */

@media (max-width: 767px) {

  .nav-home {
    grid-column: 1 / 7;
  }

  .nav-information {
    grid-column: 7 / 13;
    justify-self: end;
  }

}


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

.site-footer {
  padding-top: 120px;
  padding-bottom: 20px;
}

.footer-navigation {
  grid-column: 1 / 3;
}

.footer-contact {
  grid-column: 3 / 5;
}

.footer-services-1 {
  grid-column: 5 / 7;
}

.footer-services-2 {
  grid-column: 7 / 9;
}

.footer-services-3 {
  grid-column: 9 / 11;
}

.footer-location {
  grid-column: 11 / 13;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}


/* ==========================================================
   FOOTER — TABLET
   ========================================================== */

@media (max-width: 1199px) and (min-width: 768px) {

  .footer-navigation {
    grid-column: 1 / 3;
  }

  .footer-contact {
    grid-column: 3 / 5;
  }

  .footer-services-1 {
    grid-column: 5 / 7;
  }

  .footer-services-2 {
    grid-column: 7 / 9;
  }

  .footer-services-3 {
    grid-column: 9 / 11;
  }

  .footer-location {
    grid-column: 11 / 13;
  }

}


/* ==========================================================
   FOOTER — MOBILE
   ========================================================== */

@media (max-width: 767px) {

  .site-footer {
    padding-top: 60px;
    padding-bottom: 20px;
  }

  .footer-navigation,
  .footer-contact,
  .footer-services-1,
  .footer-services-2,
  .footer-services-3,
  .footer-location {
    grid-column: 1 / 13;
  }

  .footer-contact {
    margin-top: 20px;
  }

  .footer-services-1 {
    margin-top: 30px;
  }

  .footer-services-2,
  .footer-services-3 {
    margin-top: 0;
  }

  .footer-location {
    margin-top: 30px;
  }

}