:root {
  --navy: #071b38;
  --deep: #020d1c;
  --cyan: #00b9f2;
  --muted: #b3bfcd;
  --line: #38516c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: #fff;
  font: 12px/1.65 Montserrat, Arial, sans-serif;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 84%);
  margin: auto;
}

.site-header {
  height: 86px;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: .3s;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px #0004;
  background: #05152d;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.5px;
  text-decoration: none;
}

.brand > span:last-child > span {
  color: #168ab7;
  font-weight: 500;
}

.brand-mark {
  font-size: 22px;
  line-height: 1;
  transform: rotate(-20deg);
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
}

.main-nav a {
  text-decoration: none;
  color: #bac4d0;
  transition: color .25s;
}

.main-nav a:hover {
  color: var(--cyan);
}

.nav-divider {
  height: 22px;
  width: 1px;
  background: #617082;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 30px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.home-hero {
  height: 520px;
  background: linear-gradient(90deg, #101b2be8 0 45%, #101b2a44 65%),
    url('../Home2.png') center 8%/cover no-repeat;
}

.hero-content {
  padding-top: 100px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--cyan);
  font-size: 11px;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: 49px;
  line-height: 1.04;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin: 0 0 22px;
}

.hero p:not(.eyebrow) {
  max-width: 470px;
  color: #d5dae0;
  font-size: 10px;
  line-height: 1.55;
  margin: 0 0 11px;
}

.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border: 0;
  margin-top: 12px;
  background: var(--cyan);
  color: #00172b;
  text-transform: uppercase;
  text-decoration: none;
  font: 700 9px Montserrat;
  letter-spacing: 2px;
  padding: 10px 19px;
  cursor: pointer;
  transition: transform .25s, background .25s;
}

.button:hover {
  transform: translateY(-3px);
  background: #5edbff;
}

.section {
  padding: 100px 0;
}

.intro {
  background: var(--navy);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.intro-visual {
  padding-top: 20px;
}

.photo {
  border: 1px solid #0074a5;
  background-image: url('../Home2.png');
  background-repeat: no-repeat;
  background-size: 1920px 6470px;
}

.photo-smart {
  height: 355px;
  background-position: -200px -650px;
}

.photo-kitchen {
  height: 260px;
  width: 80%;
  margin: 28px 0 20px auto;
  background-position: -990px -1230px;
}

.caption {
  color: var(--muted);
  font-size: 10px;
  max-width: 390px;
  margin: 14px auto 0;
}

.intro-copy h2 {
  color: var(--cyan);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
  margin: 10px 0 28px;
}

.intro-copy h2 span {
  display: block;
  font-size: 16px;
}

.intro-copy > p:not(.eyebrow) {
  color: #d6dfe8;
  font-size: 10px;
  max-width: 530px;
}

.solutions {
  background: var(--deep);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 25px;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

.section-heading span {
  color: var(--cyan);
  font-size: 10px;
  text-transform: uppercase;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px 45px;
}

.solutions-cta {
  display: grid;
  place-items: center;
  margin-top: 56px;
}

.solutions-cta .button,
.solutions-cta .button:hover,
.home-hero .button,
.home-hero .button:hover,
#contactForm > button.button,
#contactForm > button.button:hover {
  --solutions-rainbow: linear-gradient(
    90deg,
    #ff5f6d 0%,
    #ffc371 20%,
    #47cf73 40%,
    #00c2ff 60%,
    #b15cff 80%,
    #ff5f6d 100%
  );
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: 4px;
  background: #222222;
  color: #fff;
  padding: 16px 32px 16px 32px;
}

.solutions-cta .button::after,
.home-hero .button::after,
#contactForm > button.button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--solutions-rainbow);
  background-size: 200% 100%;
  animation: solutions-rainbow-edge 6s linear infinite;
}

.solutions-cta .button:focus-visible,
.home-hero .button:focus-visible,
#contactForm > button.button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@keyframes solutions-rainbow-edge {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-cta .button::after,
  .home-hero .button::after,
  #contactForm > button.button::after {
    animation: none;
  }
}

.solution-photo {
  height: 180px;
  background-image: url('../Home2.png');
  background-repeat: no-repeat;
  background-size: 1920px 6470px;
  border: 1px solid #0c2745;
  transition: transform .35s, filter .35s;
}

.solution-card:hover .solution-photo {
  transform: scale(1.03);
  filter: brightness(1.2);
}

.photo-space {
  background-position: -200px -2120px;
}

.photo-residential {
  background-position: -610px -2120px;
}

.photo-hospitality {
  background-position: -1050px -2120px;
}

.photo-commercial {
  background-position: -210px -2810px;
}

.photo-retail {
  background-position: -615px -2810px;
}

.photo-events {
  background-position: -1050px -2810px;
}

.solution-card h3 {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 500;
  margin: 13px 0 7px;
}

.solution-card p {
  color: #cbd3dc;
  font-size: 9px;
  line-height: 1.6;
  min-height: 92px;
  margin: 0;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  color: var(--cyan);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.text-link span {
  transition: transform .25s;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.cta {
  height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(#17253699, #17253699),
    url('../Home2.png') center -3510px/1920px 6470px;
}

.cta h2 {
  color: var(--cyan);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  margin: 8px 0 20px;
}

.cta i {
  color: var(--cyan);
  font-style: normal;
}

.site-footer {
  background: var(--navy);
  padding: 70px 0 25px;
}

.footer-brand {
  justify-content: center;
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 60px;
}

.footer-grid h4 {
  font-size: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #657286;
  padding-bottom: 12px;
  margin: 0 0 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #d1d7df;
  font-size: 9px;
  text-decoration: none;
  margin: 5px 0;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.copyright {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #526074;
  margin-top: 42px;
  padding-top: 16px;
  color: #b0b9c4;
  font-size: 9px;
}

.contact-hero {
  height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(#07121dcc, #07121dcc),
    url('../images/Contact/Contact_02.jpg') center 8%/cover;
}

.contact-hero h1 {
  color: var(--cyan);
  font-size: 48px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

.contact-info {
  background: var(--navy);
  text-align: center;
}

.intro-statement {
  max-width: 760px;
  margin: 0 auto 50px;
  color: #dce3eb;
  font-size: 10px;
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  max-width: 900px;
}

.contact-item {
  padding: 18px 32px;
  border-right: 1px solid #586a7e;
}

.contact-item:last-child {
  border: 0;
}

.contact-icon {
  font-size: 28px;
  color: var(--cyan);
}

.contact-item h3,
.social-row h3 {
  font-size: 10px;
  color: var(--cyan);
  margin: 7px 0;
}

.contact-item p {
  font-size: 9px;
  line-height: 1.7;
  margin: 4px 0;
}

.social-row {
  border-top: 1px solid #586a7e;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 30px 0;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  margin: 0 5px;
  text-decoration: none;
}

.map-placeholder {
  height: 330px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(#a5cbe088, #dbe7efaa),
    url('../images/Contact/Contact_02.jpg') center/cover;
  border: 1px solid #d5e5f0;
}

.map-placeholder span {
  font-size: 28px;
  color: #18344a;
  font-weight: 600;
}

.map-placeholder small {
  color: #18344a;
}

.contact-form-section {
  background: var(--navy);
  padding-top: 10px;
}

.contact-form {
  max-width: 720px;
  border: 1px solid #657286;
  margin: auto;
  padding: 58px 110px;
  text-align: center;
}

.contact-form h2 {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
}

.contact-form > p:not(.eyebrow) {
  font-size: 10px;
  color: #dce3eb;
  margin-bottom: 38px;
}

.contact-form label {
  display: block;
  text-align: left;
  color: #fff;
  font-size: 9px;
  margin: 20px 0;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #657286;
  background: transparent;
  color: #fff;
  padding: 10px 0;
  outline: 0;
  font: 11px Montserrat;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.form-status {
  min-height: 20px;
  margin-top: 15px;
  color: var(--cyan);
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px 8%;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .main-nav.open {
    display: flex;
  }

  .home-hero {
    height: 560px;
  }

  .hero-content {
    padding-top: 95px;
  }

  .solution-grid {
    gap: 45px 22px;
  }

  .contact-form {
    padding: 45px 55px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 86%;
  }

  .hero h1 {
    font-size: 39px;
  }

  .home-hero {
    height: 600px;
    background-position: 58% 8%;
  }

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

  .photo-kitchen {
    width: 100%;
  }

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

  .solution-photo {
    height: 220px;
  }

  .contact-hero {
    height: 260px;
  }

  .contact-hero h1 {
    font-size: 39px;
  }

  .contact-item {
    border-right: 0;
    border-bottom: 1px solid #586a7e;
    padding: 24px;
  }

  .contact-form {
    padding: 38px 24px;
  }

  .map-placeholder {
    height: 240px;
  }

  .map-placeholder span {
    font-size: 21px;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
  }
}
