* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111c;
  color: #fff;
}

.hero {
  min-height: 530px;
  background:
    linear-gradient(90deg, rgba(3,10,18,.95), rgba(3,10,18,.62), rgba(3,10,18,.9)),
    url("images/hero-house.jpg") center/cover no-repeat;
  padding: 24px 74px 0;
}

header {
  height: 72px;
  display: grid;
  grid-template-columns: 165px 1fr 210px;
  align-items: start;
}

.logo img {
  width: 122px;
  display: block;
}

nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 41px;
  padding-top: 21px;
  padding-right: 75px;
  font-size: 14px;
  letter-spacing: .9px;
}

nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
}

nav a.active {
  color: #42aef5;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 60px;
  height: 2px;
  background: #42aef5;
  transform: translateX(-50%);
}

.btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #2f91dc, #1265a9);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .7px;
  padding: 15px 27px;
  border-radius: 5px;
  font-size: 14px;
  min-width: 160px;
  margin-top: 16px;
}

.hero-content {
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: start;
  gap: 18px;
  padding-top: 42px;
}

.headline h1 {
  font-size: 47px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.headline .script {
  color: #318bd3;
  font-family: "Allura", cursive;
  font-size: 78px;
  font-weight: 400;
  line-height: .72;
  letter-spacing: .5px;
  margin: 2px 0 24px;
  text-shadow: 0 0 1px currentColor;
}

.headline p {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.companies-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-bottom: 15px;
}

.companies-title span {
  width: clamp(95px, 9vw, 150px);
  height: 1px;
  background: rgba(255,255,255,.25);
}

.companies-title h3 {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.7px;
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 328px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 13px;
  background: rgba(5, 13, 22, .72);
  backdrop-filter: blur(10px);
}

.card img {
  display: block;
  max-width: 170px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 17px;
}

.card h3 {
  font-size: 15px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card p {
  font-size: 13px;
  line-height: 1.55;
  color: #f2f2f2;
  margin-bottom: 24px;
}

.card a {
  color: #3aa9ff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .8px;
  font-size: 15px;
}

.card.red h3,
.card.red a {
  color: #ff2d24;
}

.card.yellow h3,
.card.yellow a {
  color: #ffd21e;
}

.values {
  background: linear-gradient(90deg, #07111c, #0c2134, #07111c);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px 170px;
  gap: 40px;
}

    .value {
      display: flex;
      align-items: center;
      gap: 24px;
      border-right: 1px solid rgba(255,255,255,.28);
    }

    .value:last-child {
      border-right: none;
    }

    .value .icon {
      font-size: 48px;
      color: #399ee8;
    }

    .value h4 {
      font-size: 14px;
      text-transform: uppercase;
      margin-bottom: 7px;
    }

    .value p {
      font-size: 13px;
      line-height: 1.5;
      color: #d8e1e9;
    }

    /* TF CARE */

.tf-care-section {
  width: 100%;
  height: 260px;
  background: linear-gradient(90deg, #f7f8f4 0%, #eef4ef 100%);
  display: grid;
  grid-template-columns: 27vw 15vw minmax(420px, 1fr) 24vw;
  align-items: center;
  overflow: hidden;
}

.tf-photo {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.tf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247,248,244,0) 0%,
    rgba(247,248,244,0) 58%,
    rgba(247,248,244,.7) 82%,
    #f7f8f4 100%
  );
  pointer-events: none;
}

.tf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  display: block;
}

.tf-logo-wrap {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0;
  position: relative;
  z-index: 2;
}

.tf-logo {
  width: clamp(185px, 11.5vw, 215px);
  height: auto;
  display: block;
}

.tf-main {
  width: 100%;
  padding-left: 0;
  padding-right: 24px;
}

.tf-eyebrow {
  color: #307a70;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.15px;
  margin-bottom: 10px;
}

.tf-main h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.tf-main p {
  margin: 0 0 5px;
  color: #1d2730;
  font-size: 15px;
  line-height: 1.5;
}

.tf-btn {
  margin-top: 15px;
  width: 326px;
  height: 38px;
  border-radius: 5px;
  background: #2f7f70;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .55px;
}

.tf-btn span {
  font-size: 19px;
  font-weight: 300;
}

.tf-benefits {
  height: 170px;
  padding-left: clamp(32px, 3vw, 52px);
  border-left: 1px solid rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.tf-benefit {
  color: #1f2933;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  padding-left: 31px;
}

.tf-benefit::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: #2f7f70;
  font-size: 19px;
  font-weight: 500;
}

    .bottom-cta {
      background: #07111c;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30px 295px;
    }

    .bottom-cta .left {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .bottom-cta .home-icon {
      font-size: 56px;
      color: #349ee8;
    }

    .bottom-cta h3 {
      text-transform: uppercase;
      font-size: 17px;
      letter-spacing: 1px;
      margin-bottom: 7px;
    }

    .bottom-cta p {
      color: #e5edf5;
      font-size: 15px;
      line-height: 1.45;
    }

    .outline-btn {
      border: 1px solid #349ee8;
      color: #349ee8;
      text-decoration: none;
      text-transform: uppercase;
      padding: 15px 36px;
      border-radius: 6px;
      font-weight: 700;
      letter-spacing: .6px;
    }

    @media (max-width: 900px) {
      .hero {
        padding: 24px;
      }

      header,
      nav {
        flex-direction: column;
        gap: 20px;
      }

      .hero-content,
      .cards,
      .values,
      .care {
        grid-template-columns: 1fr;
      }

      .headline h1 {
        font-size: 42px;
      }

      .headline .script {
        font-size: 54px;
      }

      .values,
      .bottom-cta {
        padding: 30px 24px;
      }

      .bottom-cta {
        flex-direction: column;
        gap: 25px;
        text-align: center;
      }

      .care-list {
        padding: 25px;
        border-left: none;
      }
    }