:root {
  --blue: #072f63;
  --blue-2: #0f4b95;
  --dark: #0d1320;
  --light: #f5f7fb;
  --text: #1a2130;
  --gold: #f2b300;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 47, 99, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.brand strong {
  display: block;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand span {
  font-size: 0.86rem;
  opacity: 0.9;
}

.hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  align-items: center;
  background: linear-gradient(115deg, rgba(7, 47, 99, 0.82), rgba(7, 47, 99, 0.42)),
    url('assets/hero-control.svg') center/cover no-repeat;
  color: #fff;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2.8rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 1.2rem;
}

.hero__text {
  max-width: 700px;
}

.hero__visual {
  margin: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(7, 24, 46, 0.3);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  margin: 0 0 1rem;
  background: rgba(0, 0, 0, 0.12);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--blue);
}

.hero p {
  font-size: 1.05rem;
  max-width: 65ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gold);
  color: #101010;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.78rem 1.05rem;
  border: 2px solid var(--gold);
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--small {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
}

.section {
  padding: 4.2rem 0;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.card {
  background: white;
  border: 1px solid #dde4ef;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 14px 24px rgba(11, 28, 45, 0.06);
}

.section__intro {
  max-width: 78ch;
}

.gallery {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 190px;
  background: linear-gradient(145deg, #dce5f5, #f8fbff);
  border: 1px solid #d9e0ec;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.clients__title {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--blue);
}

.clients-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.clients-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  height: 110px;
  background: #fff;
  border: 1px solid #d9e0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
}

.clients-gallery__item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(130deg, #0d2f59, #0f4b95);
  color: #fff;
  border-radius: 18px;
  padding: 1.5rem;
}

.contact h2 {
  color: #fff;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer {
  background: #08162f;
  color: #eaf1ff;
  padding: 1.2rem 0;
  text-align: center;
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 580px;
  }
}

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

  .btn,
  .btn--ghost {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }
}
