:root {
  --black: #000;
  --white: #fff;
  --gray-1: #e6e6e6;
  --teal: #46cfea;
  --teal-light: #a2e7f4;
  --slate: #354463;
  --font-family: Lato, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", var(--font-family);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--slate);
  background-color: var(--black);
}

.contain {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

/* ---------- Navigation ---------- */

.navigation-bar {
  background-color: var(--black);
  font-family: var(--font-family);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand-link { display: inline-flex; align-items: center; padding: 16px 0; }
.brand-link img { display: block; max-width: 230px; height: auto; }

.hamburger-button {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
}

.navigation-items { display: flex; align-items: center; gap: 4px; }

.navigation-item {
  font-family: var(--font-family);
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: opacity .2s;
}

.navigation-item:hover { opacity: .8; }
.navigation-item.current { color: var(--teal); font-weight: 600; }

.navigation-item.button {
  background-color: var(--teal);
  color: var(--black);
  font-weight: 700;
}

/* ---------- Hero ---------- */

.home-hero-section {
  background-image: url("/assets/hero.jpg");
  background-position: 50%;
  background-size: cover;
  padding: 128px 0;
}

.hero-inner { width: 50%; padding: 76px 64px 119px; }

.headline-hero {
  font-family: var(--font-family);
  color: var(--gray-1);
  margin: 0;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.15;
}

/* ---------- Section tag ---------- */

.block-tag {
  display: inline-block;
  background-color: var(--teal);
  color: var(--black);
  font-family: var(--font-family);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 40px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
}

.block-tag-wrap {
  display: flex;
  justify-content: center;
  transform: translateY(-23px);
}

/* ---------- What we do ---------- */

.what-we-do-section { background-color: var(--black); }
.what-we-do-contain { position: relative; padding-bottom: 80px; }

.what-we-do-row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding-top: 40px;
}

.what-we-do-column { flex: 1 1 0; min-width: 200px; }

.heading-sm {
  font-family: var(--font-family);
  color: var(--white);
  margin: 0;
  padding-top: 20px;
  font-size: 28px;
  font-weight: 300;
  line-height: 36px;
}

.heading-sm.black { color: var(--black); padding-top: 0; }

.underline {
  background-color: var(--teal);
  width: 48px;
  height: 1px;
  margin: 10px 0;
}

.column-text { color: var(--gray-1); margin: 0; }

/* ---------- Why us ---------- */

.why-us-section { background-color: var(--black); padding: 88px 0 40px; }

.why-us-header { text-align: left; }

.headline-lrg {
  font-family: var(--font-family);
  color: var(--gray-1);
  margin: 40px 0 60px;
  font-size: 44px;
  font-weight: 400;
  line-height: 56px;
  max-width: 100%;
}

.why-us-row {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-around;
  margin-bottom: 40px;
}

.why-us-card { flex: 1 1 280px; max-width: 360px; position: relative; }

.why-us-image {
  position: absolute;
  top: 0;
  left: 10%;
  width: 90%;
  height: 224px;
  background-size: cover;
  background-position: center;
  z-index: 10;
}

.why-us-card-body {
  background-color: var(--white);
  margin-top: 30px;
  width: 90%;
  padding: 220px 30px 30px;
  text-align: left;
}

.why-us-card-body p { color: var(--slate); margin: 12px 0 0; }

/* ---------- Contact ---------- */

.contact-us-section { background-color: var(--black); padding: 60px 0; }

.contact-us-row { display: flex; flex-wrap: wrap; gap: 40px; }

.header-col { flex: 1 1 300px; }
.contact-form-col { flex: 1 1 380px; }

.field-label {
  display: block;
  color: var(--gray-1);
  font-weight: 400;
  margin: 14px 0 6px;
}

.field-input {
  width: 100%;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  background-color: var(--white);
  border: 1px solid #ccc;
}

.textarea { min-height: 120px; resize: vertical; }

.submit-button {
  float: right;
  background-color: var(--teal);
  border: 0;
  cursor: pointer;
  font-family: var(--font-family);
  color: var(--black);
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 50%;
  margin-top: 20px;
  padding: 10px 40px;
  font-size: 14px;
  font-weight: 700;
}

.submit-button:disabled { opacity: .7; cursor: default; }

.form-done, .form-fail {
  clear: both;
  margin-top: 60px;
  padding: 16px;
  text-align: center;
}

.form-done { background-color: #ddd; color: #333; }
.form-fail { background-color: #ffdede; color: #a00; }

/* ---------- Footer ---------- */

.footer-section {
  border-top: 1px solid var(--white);
  background-color: var(--black);
  padding: 60px 0;
}

.footer-contain {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
}

.footer-col { width: 250px; max-width: 100%; }

.footer-heading {
  font-family: var(--font-family);
  color: var(--teal);
  letter-spacing: .4px;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 18px;
}

.footer-divider { background-color: var(--white); height: 1px; margin-bottom: 12px; }

.footer-address {
  font-family: var(--font-family);
  color: var(--white);
  margin-bottom: 12px;
}

.footer-email {
  font-family: var(--font-family);
  color: var(--gray-1);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .hero-inner { width: 100%; padding: 40px 20px; }
  .home-hero-section { padding: 80px 0; }
  .headline-lrg { font-size: 28px; line-height: 36px; }
}

@media (max-width: 767px) {
  .hamburger-button { display: block; }

  .navigation-items {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 12px;
  }

  .navigation-items.open { display: flex; }
  .navigation-item { text-align: center; padding: 15px 30px; color: var(--teal); }
  .navigation-item:hover { background-color: var(--white); color: var(--black); opacity: 1; }

  .headline-hero { font-size: 38px; }
  .what-we-do-row { gap: 24px; }
  .what-we-do-column { flex-basis: 45%; }
  .submit-button { width: 100%; float: none; }
  .why-us-card-body { width: 100%; padding-top: 200px; }
  .why-us-image { width: 80%; }
}
