:root {
  --bg: #070b14;
  --bg2: #050914;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --border: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.06);
  --surface2: rgba(255, 255, 255, 0.04);
  --primary: #1c6fe8;
  --primary2: #38bdf8;
  --chrome: rgba(255, 255, 255, 0.20);
  --chrome2: rgba(255, 255, 255, 0.10);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 680px at 20% 10%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(1000px 620px at 80% 12%, rgba(28, 111, 232, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.header .container {
  padding-left: 4px;
  padding-right: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.94);
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header .brand__name,
.header .nav__link,
.header .nav__cta,
.header .mobile__link,
.header .mobile__cta {
  font-family: "Crimson Text", Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 140px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 220px;
}

.brand__logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(28, 111, 232, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
  font-weight: 800;
}

.brand__name {
  font-weight: 900;
  letter-spacing: -0.5px;
  font-size: 19px;
}

.brand__tag {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.search {
  flex: 1;
  max-width: 560px;
}

.search__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.90);
  outline: none;
}

.search--enhanced {
  position: relative;
}

.search--enhanced .search__input {
  padding-right: 46px;
}

.search__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  cursor: pointer;
}

.search__btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0f16;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 50;
}

.search__item {
  display: block;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search__item:first-child {
  border-top: 0;
}

.search__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
}

.search__empty {
  padding: 12px;
  color: rgba(255, 255, 255, 0.60);
}

 .search__input::placeholder {
  color: rgba(255, 255, 255, 0.48);
 }

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.70);
  padding: 10px 10px;
  border-radius: 10px;
  letter-spacing: -0.2px;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.26), rgba(28, 111, 232, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.menu {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
}

.menu__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
}

.mobile {
  padding: 12px 20px 20px;
}

.mobile__link,
.mobile__cta {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile__link {
  color: var(--muted);
}

.mobile__link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}

.mobile__cta {
  margin-top: 8px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.hero {
  position: relative;
  padding: 48px 0 34px;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.70)),
    radial-gradient(1100px 520px at 22% 22%, rgba(255, 198, 140, 0.20), transparent 62%),
    radial-gradient(900px 520px at 78% 26%, rgba(14, 165, 233, 0.10), transparent 62%),
    url("./Assets/hero.jpg");
  background-size: cover;
  background-position: center 92%;
}

.hero .container {
  max-width: 1280px;
}

.heroUnder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.heroBanner,
.heroBanner__bg {
  display: none;
}

.heroUnder__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  max-width: 80ch;
  font-weight: 600;
}

.heroUnder__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.btn--primary {
  border-color: rgba(56, 189, 248, 0.28);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(28, 111, 232, 0.14));
}

.section {
  padding: 34px 0;
}

.section--tight {
  padding-top: 10px;
}

.section__head {
  max-width: 860px;
}

.section__title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.8px;
  font-weight: 900;
}

.section__sub {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  line-height: 1.55;
}

.rowHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rowHead__title {
  font-weight: 900;
  letter-spacing: -0.4px;
}

.rowHead__link {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.70);
}

.products {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.40);
}

.product__media {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.product__media:hover {
  transform: translateY(-2px);
}

.product__media:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.22);
  outline-offset: 3px;
}

.product__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.10), rgba(7, 11, 20, 0.90));
  pointer-events: none;
}

 .product__title {
  font-weight: 900;
 }

 .product__meta {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 12.5px;
 }

 .product__media--gen {
  background-image:
    linear-gradient(110deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.05)),
    url("./Assets/Generator.jpg");
 }

 .product__media--roof {
  background-image:
    linear-gradient(110deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.05)),
    url("./Assets/Roofing.jpg");
 }

 .product__media--water {
  background-image:
    linear-gradient(110deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.05)),
    url("./Assets/WaterFiltration.jpg");
 }

.cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0f16;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card__title {
  margin: 12px 0 0;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.card__text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.6;
}

.card__list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.70);
}

.card__list li::marker {
  color: rgba(255, 255, 255, 0.35);
}

.contact {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1224;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.contact__copy {
  padding: 4px;
}

.contact__details {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
  min-width: 0;
}

.detail__k {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail__v {
  margin-top: 8px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail__v a {
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.form {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(700px 220px at 30% 0%, rgba(56, 189, 248, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: block;
  margin-bottom: 12px;
}

.field__label {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 8px;
}

.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(10, 18, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.field__input:focus {
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.10);
}

.field__input--textarea {
  resize: vertical;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.form__actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.form__note {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 600;
  font-size: 12.5px;
}

.featured {
  margin-top: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

#work {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.80), rgba(2, 6, 23, 0.84)),
    url("./Assets/BackgroundWeDo.jpg");
  background-size: cover;
  background-position: center;
}

#work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 18% 12%, rgba(56, 189, 248, 0.10), transparent 62%),
    radial-gradient(900px 360px at 82% 12%, rgba(28, 111, 232, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

#work > .container {
  position: relative;
  z-index: 1;
}

.featured__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.featured__title {
  margin: 0;
}

.featured__text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(700px 160px at 22% 0%, rgba(56, 189, 248, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.06));
}

.step__num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(28, 111, 232, 0.12));
}

.step__title {
  font-weight: 900;
}

.step__text {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.featured__right {
  display: grid;
  gap: 10px;
}

.highlights {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(900px 240px at 15% 0%, rgba(56, 189, 248, 0.10), transparent 62%),
    radial-gradient(800px 240px at 85% 0%, rgba(28, 111, 232, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
  padding: 16px;
}

.highlights__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1224;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.highlights__title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(28, 111, 232, 0.10));
}

.highlights__sub {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  max-width: 56ch;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.04));
  padding: 12px;
}

.mini__k {
  font-weight: 900;
}

.mini__v {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.mini--accent {
  border-color: rgba(56, 189, 248, 0.22);
  background:
    radial-gradient(700px 180px at 30% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.04));
}

.mini__link {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

.footer {
  padding: 34px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1224;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 70px rgba(0, 0, 0, 0.45);
}

.footer__brand {
  font-weight: 900;
}

.footer__muted {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer__head {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

.footer__link {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer__bottom {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__fine {
  color: rgba(255, 255, 255, 0.60);
  font-size: 12.5px;
}

@media (max-width: 980px) {
  .nav,
  .search {
    display: none;
  }

  .menu {
    display: inline-block;
  }

  .products,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 460px;
  }

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

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

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

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

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

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

@media (max-width: 540px) {
  .hero {
    min-height: 340px;
    background-position: center 118%;
  }

  .heroUnder {
    justify-content: center;
  }

  .heroUnder__lead {
    display: none;
  }

  .heroUnder__actions {
    width: 100%;
    justify-content: center;
  }
}
