:root {
  --navy: #082a47;
  --blue: #0879c9;
  --teal: #8ed7dc;
  --ink: #0d2035;
  --muted: #586a7b;
  --light: #f4f8fb;
  --line: #dce6ed
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: white
}

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

.top {
  background: var(--navy);
  color: white;
  font-size: 13px;
  padding: 8px 0
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px
}

.top .wrap {
  display: flex;
  justify-content: space-between
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px
}

.logo {
  width: 300px;
  max-width: 34vw;
  height: 90px;
  object-fit: contain;
  object-position: left top
}

.links {
  margin-left: auto;
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 14px;
  font-weight: 600
}

.links a:hover {
  color: var(--blue)
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 5px;
  font-weight: 700
}

.hero {
  background: linear-gradient(90deg, rgba(4, 25, 43, .93), rgba(4, 25, 43, .72)), url('assets/site-photos/home-hero.webp') center/cover;
  min-height: 500px;
  color: white;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.03;
  max-width: 700px;
  margin: 0 0 22px
}

.hero h1 span {
  color: var(--teal)
}

.hero p {
  font-size: 19px;
  max-width: 690px
}

.eyebrow {
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px
}

.section {
  padding: 76px 0
}

.section.alt {
  background: var(--light)
}

h2 {
  font-size: 38px;
  line-height: 1.12;
  margin: 8px 0 22px
}

h3 {
  font-size: 22px;
  margin: 10px 0
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 850px
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  box-shadow: 0 8px 25px rgba(12, 38, 59, .05)
}

.card b {
  color: var(--blue)
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.photo {
  min-height: 380px;
  border-radius: 8px;
  background-position: center;
  background-size: cover
}

.proof {
  background: var(--navy);
  color: white
}

.proof .grid {
  grid-template-columns: repeat(4, 1fr)
}

.proof .card {
  background: transparent;
  color: white;
  border-color: #31536d;
  box-shadow: none;
  text-align: center
}

.proof strong {
  font-size: 28px
}

.cta {
  background: linear-gradient(90deg, #082a47, #0b456e);
  color: white;
  text-align: center;
  padding: 58px 20px
}

.pagehead {
  padding: 70px 0;
  background: var(--navy);
  color: white
}

.pagehead h1 {
  font-size: 48px;
  margin: 0 0 10px
}

.list {
  padding-left: 20px
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.form {
  display: grid;
  gap: 14px
}

.form input,
.form select,
.form textarea {
  padding: 14px;
  border: 1px solid #cbd8e1;
  border-radius: 5px;
  font: inherit
}

.form textarea {
  min-height: 150px
}

.footer {
  background: #061d31;
  color: #d8e5ee;
  padding: 38px 0;
  font-size: 14px
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px
}

.mobile {
  display: none
}

@media(max-width:850px) {
  .links {
    display: none
  }

  .mobile {
    display: block;
    margin-left: auto
  }

  .logo {
    max-width: 70vw;
    width: 270px
  }

  .hero h1 {
    font-size: 42px
  }

  .grid,
  .proof .grid,
  .two,
  .contact {
    grid-template-columns: 1fr
  }

  .section {
    padding: 54px 0
  }

  .top .wrap {
    display: block;
    text-align: center
  }

  .top .wrap span:last-child {
    display: none
  }
}

.service-card {
  padding: 0;
  overflow: hidden
}

.service-card h3,
.service-card p,
.service-card b {
  margin-left: 24px;
  margin-right: 24px
}

.service-card b {
  display: block;
  margin-bottom: 24px
}

.card-img {
  height: 180px;
  background-size: cover;
  background-position: center
}

.manufacturing-img {
  background-image: url('assets/site-photos/card-manufacturing.webp')
}

.warehouse-img {
  background-image: url('assets/site-photos/card-warehouse.webp')
}


/* Unique page photography */
.home-experience-photo {
  background-image: url('assets/site-photos/home-experience.webp')
}

.photo.about-photo {
  background-image: url('assets/site-photos/about.webp')
}

.page-photo {
  height: 340px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin: 34px 0 10px;
  box-shadow: 0 8px 25px rgba(12, 38, 59, .08)
}

.services-photo {
  background-image: url('assets/site-photos/services.webp')
}

.industries-photo {
  background-image: url('assets/site-photos/industries.webp')
}

.contact-photo {
  background-image: url('assets/site-photos/contact.webp');
  height: 260px;
  margin-top: 28px
}

@media(max-width:850px) {
  .page-photo {
    height: 240px
  }

  .contact-photo {
    height: 220px
  }
}

.service-grid {
  grid-template-columns: repeat(2, 1fr)
}

@media(max-width:850px) {
  .service-grid {
    grid-template-columns: 1fr
  }
}

/* WiseSense partnership page */
.partnership-head p {
  font-size: 21px;
  margin: 10px 0 0;
  color: #d8e9f3
}

.partnership-intro {
  max-width: 930px
}

.partnership-intro .btn {
  margin-top: 12px
}

.partnership-scope {
  grid-template-columns: repeat(4, 1fr)
}

.benefit-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 12px
}

.partnership-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center
}

.partnership-panel {
  background: linear-gradient(145deg, var(--navy), #0b456e);
  color: white;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 12px 34px rgba(12, 38, 59, .12)
}

.panel-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 18px
}

.supply-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px
}

.supply-flow span {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800
}

.supply-flow i {
  font-style: normal;
  color: var(--teal);
  font-weight: 800
}

.partnership-panel strong {
  display: block;
  color: var(--teal);
  font-size: 27px;
  line-height: 1.18;
  margin: 12px 0
}

.partnership-panel p {
  margin-bottom: 0;
  color: #e4eef5
}

.partnership-close .wrap {
  max-width: 960px
}

@media(max-width:1000px) {
  .partnership-scope {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:850px) {

  .partnership-scope,
  .partnership-split {
    grid-template-columns: 1fr
  }

  .partnership-split {
    gap: 30px
  }

  .partnership-panel {
    padding: 28px
  }
}


/* Bilingual language switch */
.lang-switch,
.menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--navy);
  background: #fff
}

.lang-switch:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.menuBtn img {
  width: 20px;
}

#menuBtn {
  display: none;
}

@media(max-width:850px) {

  .lang-switch {
    margin-left: auto
  }

  .mobile {
    margin-left: 0
  }


}

@media(max-width:1050px) and (min-width:851px) {
  .links {
    display: none
  }

  .mobile {
    display: block;
    margin-left: 0
  }

  .lang-switch {
    margin-left: auto
  }
}


/* Contact details */
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 6px
}

.contact-details a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 15px 17px;
  background: var(--light)
}

.contact-details span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 3px
}

.contact-details strong {
  font-size: 16px;
  color: var(--ink);
  overflow-wrap: anywhere
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.footer-contact a {
  color: #fff
}

.footer-contact a:hover {
  text-decoration: underline
}

@media(max-width:850px) {
  .contact-details {
    grid-template-columns: 1fr
  }

  .footer .wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px
  }

  .footer-contact {
    justify-content: center
  }
}

@media(max-width:1050px) {
  #menuBtn {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #menuList.open {
    display: flex;
    position: fixed;
    width: 100%;
    top: 110px;
    background: #fff;
    padding: 20px;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .btn {
    padding: 5.65px 22px;
  }
}

.services-img {
  background-image: url('assets/site-photos/services.webp');
  background-size: cover;
  background-position: center
}

.card h2 a,
.card h3 a {
  color: inherit;
  text-decoration: none
}

.card h2 a:hover,
.card h3 a:hover {
  text-decoration: underline
}

.section p a {
  font-weight: 700
}

/* Phone and small-screen refinements */
img {
  max-width: 100%
}

.nav .wrap>* {
  min-width: 0
}

.nav .wrap>a:first-child {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto
}

@media(max-width:600px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px
  }

  .nav .wrap {
    gap: 10px;
    min-height: 76px
  }

  .nav .wrap>a:first-child {
    flex: 1 1 auto
  }

  .logo {
    display: block;
    width: 180px;
    max-width: calc(100vw - 175px);
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center
  }

  .lang-switch {
    flex: 0 0 auto;
    min-width: 38px;
    height: 34px;
    padding: 0 8px;
    margin-left: 0
  }

  .mobile.btn {
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap
  }

  .hero {
    min-height: 430px
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    overflow-wrap: anywhere
  }

  .hero p,
  .lead,
  .partnership-head p {
    font-size: 17px
  }

  .pagehead {
    padding: 52px 0
  }

  .pagehead h1 {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.08;
    overflow-wrap: anywhere
  }

  h2 {
    font-size: clamp(29px, 8.5vw, 34px);
    overflow-wrap: anywhere
  }

  h3 {
    overflow-wrap: anywhere
  }

  .section {
    padding: 46px 0
  }

  .grid {
    gap: 18px;
    margin-top: 26px
  }

  .card {
    padding: 22px
  }

  .two {
    gap: 30px
  }

  .page-photo {
    height: 210px
  }

  .contact-photo {
    height: 200px
  }

  .photo {
    min-height: 280px
  }

  .cta {
    padding: 46px 16px
  }

  .cta .btn {
    max-width: 100%;
    white-space: normal
  }

  .partnership-panel {
    padding: 22px
  }

  .supply-flow {
    align-items: flex-start
  }

  .supply-flow span {
    max-width: 100%;
    white-space: normal
  }

  .contact-details strong,
  .footer a {
    overflow-wrap: anywhere
  }
}

@media(max-width:360px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px
  }

  .nav .wrap {
    gap: 7px
  }

  .logo {
    max-width: calc(100vw - 158px)
  }

  .lang-switch {
    min-width: 34px;
    padding: 0 6px
  }

  .mobile.btn {
    padding: 9px 10px;
    font-size: 12px
  }
}