
:root {
  --navy: #07182c;
  --navy-light: #102a45;
  --blue: #087eaf;
  --cyan: #29c4e8;
  --white: #ffffff;
  --light: #f3f7fb;
  --text: #25364a;
  --muted: #708096;
  --border: #e3eaf1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: white;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 25px;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav {
  min-height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  font-size: 25px;
}

.brand img {
  max-height: 56px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
}

.brand-fallback {
  color: var(--cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: #c8d6e5;
  font-size: 13px;
  font-weight: 600;
  transition: .25s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--cyan);
}

.nav-menu .nav-contact {
  background: var(--cyan);
  color: var(--navy);
  padding: 12px 19px;
  border-radius: 5px;
}

.nav-menu .nav-contact:hover {
  background: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 590px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(5,18,35,.97), rgba(5,18,35,.68)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2000&q=85")
    center/cover;
}

.hero-content {
  padding-top: 85px;
  padding-bottom: 85px;
}

.eyebrow {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eyebrow.blue {
  color: var(--blue);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  color: #c2d0df;
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 35px;
}

/* BUTTONS */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.button-primary {
  background: var(--cyan);
  color: var(--navy);
}

.button-primary:hover {
  background: white;
  transform: translateY(-3px);
}

.button-outline {
  border: 1px solid #a0b5ca;
  color: white;
}

.button-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* PAGE HERO */

.page-hero {
  padding: 100px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(5,18,35,.96), rgba(5,18,35,.78)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80")
    center/cover;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.page-hero p {
  color: #c4d3e2;
  max-width: 600px;
}

/* HIGHLIGHTS */

.highlights {
  background: var(--navy-light);
  padding: 32px 0;
  color: white;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}

.highlight-grid strong,
.highlight-grid span {
  display: block;
}

.highlight-grid strong {
  color: var(--cyan);
  font-size: 21px;
}

.highlight-grid span {
  color: #b7c9da;
  font-size: 12px;
}

/* SECTIONS */

.section {
  padding: 95px 0;
}

.section-light {
  background: var(--light);
}

.section h2,
.cta h2 {
  font-size: clamp(30px,4vw,43px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 23px;
}

.section p,
.cta p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 17px;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-heading p {
  margin: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.image-panel {
  min-height: 390px;
  border-radius: 9px;
  background-position: center;
  background-size: cover;
}

.image-chip {
  background-image:
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1000&q=85");
}

.image-electronics {
  background-image:
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1000&q=85");
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

.text-link:hover {
  color: var(--cyan);
}

/* SERVICE CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 23px;
}

.service-card {
  background: white;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(7,30,50,.08);
}

.service-card .icon {
  height: 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e6f8fc;
  color: var(--blue);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 13px;
  min-height: 65px;
}

.service-card a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

/* EXPERTISE */

.expertise-list {
  max-width: 900px;
  margin: auto;
}

.expertise-row {
  display: flex;
  gap: 30px;
  padding: 27px 0;
  border-bottom: 1px solid var(--border);
}

.expertise-number {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 800;
}

.expertise-row h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.expertise-row p {
  margin: 0;
}

/* DARK SECTION */

.dark-section {
  background: var(--navy);
  color: white;
}

.dark-section h2 {
  color: white;
}

.dark-section p {
  color: #b9cadb;
}

.dark-section .image-panel {
  border: 1px solid rgba(255,255,255,.1);
}

/* CTA */

.cta {
  background: #eaf7fb;
  padding: 85px 25px;
  text-align: center;
}

.cta .container {
  max-width: 760px;
}

.cta p {
  margin-bottom: 28px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}

.contact-info {
  margin-top: 40px;
  padding: 25px;
  background: var(--light);
  border-left: 3px solid var(--cyan);
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-form-panel {
  background: var(--light);
  padding: 35px;
  border-radius: 9px;
}

.contact-form-panel h2 {
  font-size: 27px;
}

.form-note {
  font-size: 12px !important;
}

form label {
  display: block;
  margin: 16px 0 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

form input,
form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #dce5ed;
  border-radius: 5px;
  background: white;
  font: inherit;
  font-size: 14px;
  outline: none;
}

form input:focus,
form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,126,175,.1);
}

form textarea {
  resize: vertical;
  margin-bottom: 20px;
}

.form-status {
  font-size: 13px;
  margin-top: 15px;
}

/* FOOTER */

.footer {
  background: #04101e;
  color: white;
  padding: 65px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer h3 {
  font-size: 19px;
  margin-bottom: 15px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: #9eafc1;
  font-size: 13px;
}

.footer a {
  display: block;
  margin-bottom: 9px;
}

.footer a:hover {
  color: var(--cyan);
}

.copyright {
  border-top: 1px solid #26374a;
  padding-top: 22px;
  text-align: center;
  font-size: 11px;
  color: #8192a4;
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media(max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nav-menu.open {
    display: flex;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width: 550px) {
  .section {
    padding: 65px 0;
  }

  .hero {
    min-height: 520px;
  }

  .highlight-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .image-panel {
    min-height: 260px;
  }

  .page-hero {
    padding: 75px 0;
  }

  .contact-form-panel {
    padding: 23px;
  }
}

@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
