* {
  box-sizing: border-box;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #2d2d2d;
  background: #fff;

  /* Space for fixed header */
  padding-top: 130px;
}


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

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;

  width: 100% !important;
  height: 130px !important;
  min-height: 130px !important;

  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .header-inner {
  width: 980px !important;
  max-width: calc(100% - 48px) !important;
  height: 130px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  position: relative !important;
  display: block !important;
}


/* Logo */

.site-header .brand {
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;

  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand img {
  display: block !important;

  width: 320px !important;
  height: 112px !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;
}


/* Navigation */

.site-header .header-right {
  position: absolute !important;
  right: 0 !important;
  top: 43px !important;

  width: 515px !important;

  margin: 0 !important;
  padding: 0 !important;
}

.site-header nav {
  height: 45px !important;

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

  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header nav a {
  display: block !important;

  height: 45px !important;
  line-height: 45px !important;

  padding: 0 22px !important;
  margin: 0 !important;

  color: #9e96a1 !important;
  text-decoration: none !important;

  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;

  white-space: nowrap !important;
}

.site-header nav a.active {
  color: #222 !important;
}


/* Search removed */

.site-header form,
.site-header input,
.site-header .search,
.site-header .search-box,
.site-header .site-search,
.site-header [class*="search"],
.search,
.search-box,
.site-search,
input[type="search"] {
  display: none !important;
}


/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  width: calc(100% - 76px);
  max-width: 1540px;

  margin: 0 auto 40px;

  height: auto;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  position: absolute;
  left: 70px;
  top: 48px;

  margin: 0;

  color: #fff;

  font-size: 58px;
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -2px;
}


/* ========================================
   INTRO
   ======================================== */

.intro {
  max-width: 1540px;
  margin: 0 auto;

  background: #efeeeb;

  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 650px;
}

.intro-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 70px 12%;
}

.intro-copy h2,
.why h2,
.services h2,
.testimonials h2 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 42px;
  font-weight: 700;
}

.intro-copy p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 500px;
  color: #666;
}


/* ========================================
   WHY OAKWATERS
   ======================================== */

.why {
  max-width: 1540px;
  margin: auto;

  background: #f4f3f1;

  text-align: center;

  padding: 70px 40px 100px;
}

.why h2 {
  margin-bottom: 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: #756e7a;
}


/* ========================================
   SERVICES
   ======================================== */

.services {
  background: #e8e7e4;
  padding: 80px 30px 95px;
  text-align: center;
}

.services h2 {
  margin-bottom: 70px;
}

.service-grid {
  max-width: 1760px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.service {
  height: 660px;

  position: relative;
  overflow: hidden;

  text-decoration: none;
}

.service img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

.service::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    transparent 65%,
    rgba(0, 0, 0, 0.25)
  );
}

.service span {
  position: absolute;
  z-index: 1;

  left: 0;
  right: 0;
  bottom: 70px;

  color: #fff;

  font-size: 20px;
  font-weight: 700;
}


/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
  background: #f3f2ef;

  padding: 75px 40px 110px;

  text-align: center;
}

.testimonials h2 {
  margin-bottom: 75px;
}

.quotes {
  max-width: 1160px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 130px;
}

.quotes article {
  min-height: 430px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.quotes b {
  font-family: Georgia, serif;
  font-size: 55px;
  line-height: 1;
}

.quotes p {
  font-size: 14px;
  line-height: 1.5;

  color: #5f5f5f;

  max-width: 245px;

  margin: 55px auto 0;
}

.quotes span {
  margin-top: auto;

  color: #716b76;

  font-size: 14px;
}


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

footer {
  background: #2c2c2c;
  color: #fff;

  min-height: 270px;
}

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

  padding: 75px 0;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  align-items: start;
}

.footer-inner h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0;
}

.phone {
  text-align: center;

  font-size: 24px;
  line-height: 1.4;
}

.social {
  text-align: right;
  font-size: 13px;
}


/* Call or text footer */

.site-footer {
  width: 100%;
  min-height: 0;

  padding: 30px 24px;

  text-align: center;

  background: #fff;
  color: #222;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

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

.site-footer a:hover {
  color: #9e96a1;
}


/* ========================================
   HOME PARALLAX
   ======================================== */

@media (min-width: 801px) {

  .hero {
    height: min(720px, 46vw);
    overflow: hidden;
  }

  .hero img {
    width: 100%;
    height: calc(100% + 360px);

    max-width: none;

    object-fit: cover;
    object-position: center center;

    transform: translate3d(0, -180px, 0);

    will-change: transform;
  }

  .intro-image {
    position: relative;

    height: 650px;

    overflow: hidden;
  }

  .intro-image img {
    display: block;

    width: 100%;
    height: 1010px;

    max-width: none;

    object-fit: cover;
    object-position: center center;

    transform: translate3d(0, -180px, 0);

    will-change: transform;
  }
}


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

@media (max-width: 800px) {

  body {
    padding-top: 145px;
  }

  .site-header {
    height: 145px !important;
    min-height: 145px !important;
  }

  .site-header .header-inner {
    width: 100% !important;
    max-width: 100% !important;

    height: 145px !important;
    min-height: 145px !important;

    padding: 12px 24px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .site-header .brand,
  .site-header .header-right {
    position: static !important;
  }

  .site-header .brand img {
    width: min(300px, 80vw) !important;
    height: auto !important;
  }

  .site-header .header-right {
    width: 100% !important;
    margin-top: 4px !important;
  }

  .site-header nav {
    height: auto !important;

    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .site-header nav a {
    height: 35px !important;
    line-height: 35px !important;

    padding: 0 14px 0 0 !important;
  }


  /* Hero */

  .hero {
    width: 100%;
  }

  .hero h1 {
    left: 25px;
    top: 30px;

    font-size: 36px;
  }


  /* Intro */

  .intro {
    grid-template-columns: 1fr;
  }

  .intro-image img {
    height: auto;
  }

  .intro-copy {
    padding: 55px 30px;
  }


  /* Grids */

  .why-grid,
  .service-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 35px;
  }

  .service {
    height: 620px;
  }

  .quotes {
    gap: 70px;
  }

  .quotes article {
    min-height: 0;
  }

  .quotes span {
    margin-top: 25px;
  }


  /* Footer */

  .footer-inner {
    padding: 50px 30px;

    grid-template-columns: 1fr;

    gap: 35px;
  }

  .phone,
  .social {
    text-align: left;
  }
}


/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {

  .hero img,
  .intro-image img {
    transform: none !important;
  }
}
