:root {
  --bg: #061a26;
  --bg-soft: #0b2434;
  --accent: #18b3ea;
  --text: #ecf4f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: #03111c;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 64vh;
  background: linear-gradient(rgba(3, 13, 22, 0.78), rgba(3, 13, 22, 0.82)),
    url("assets/hero-telematics.svg") center / cover no-repeat;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo { width: 210px; }

.menu { display: flex; gap: 1.5rem; }
.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.hero-content {
  padding: 5rem 0 3.25rem;
  max-width: 700px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.8; }
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin: 0.4rem 0 1rem; }
h1 span { color: var(--accent); }

.button {
  display: inline-block;
  background: var(--accent);
  color: #03111c;
  font-weight: 800;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.section { padding: 4rem 0; }
.dark { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 2rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.card-image { width: 100%; border-radius: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.brand-cards {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  justify-content: center;
  align-items: stretch;
}

.card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1rem;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: #fff;
  padding: 0.75rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

.brand-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: #fff;
  padding: 1rem;
}

.brand-card > a img {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  max-height: 120px;
  object-fit: contain;
}

.brand-card .logo-link-dark {
  background: #03111c;
}

.brand-card .logo-link-dark img {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.brand-card h3,
.brand-card p {
  text-align: center;
}

.bg-image {
  background: linear-gradient(rgba(2, 12, 20, 0.5), rgba(2, 12, 20, 0.7)),
    url("assets/kosmonauta.png") center/cover fixed;
  text-align: center;
}
.slogan h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0; }
.slogan p { color: var(--accent); font-size: 1.4rem; margin-top: 0.3rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.contact-grid h2 {
  margin-top: 0;
}

a { color: var(--accent); }

footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.85rem;
  background: #020b13;
  color: #95a7b5;
}

@media (max-width: 860px) {
  .menu { display: none; }
  .grid-2, .cards, .contact-grid, .brand-cards { grid-template-columns: 1fr; }
  .hero { min-height: 56vh; background-position: center; }
  .hero-content { padding-top: 3.5rem; padding-bottom: 2.5rem; }
}

.office-maps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.map-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.map-card h3 {
  margin: 0 0 0.75rem;
  text-align: center;
}

.map-card iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

@media (max-width: 860px) {
  .office-maps { grid-template-columns: 1fr; }
}
