* {
  box-sizing: border-box;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #172b4d;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.header {
  min-height: 112px;
  padding: 18px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #528acb;
  text-decoration: none;
  font-size: 20px;
  flex-shrink: 0;
}

.logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #e4f5ff;
  display: grid;
  place-items: center;
  font-size: 32px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

nav a {
  color: #253652;
  text-decoration: none;
  font-size: 17px;
}

nav a:hover,
nav a.active {
  color: #78a9d3;
}

.menu-toggle {
  display: none;
  background: white;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 22px;
  border-radius: 8px;
}

.hero {
  min-height: 580px;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 85%),
    url("/assets/hero.jpeg") center 43% / cover no-repeat;
  color: white;
}

.hero-content {
  width: min(900px, 60%);
  padding: 70px 0 60px 8%;
}

.hero h1 {
  margin: 0 0 175px;
  font-size: clamp(36px, 3.5vw, 60px);
  line-height: 1.35;
  font-weight: 700;
}

.hero p {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 22px;
  border-radius: 8px;
  background: #3099ed;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.about {
  padding: 60px 8%;
  text-align: center;
}

.about h2 {
  font-size: 32px;
}

.about p {
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}

footer {
  padding: 24px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f5f7fa;
}

footer a {
  color: #253652;
}

@media (max-width: 1050px) {
  .header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    min-height: 540px;
    background-position: center;
  }

  .hero-content {
    width: 90%;
    padding: 55px 0 40px 6%;
  }

  .hero h1 {
    margin-bottom: 100px;
    font-size: clamp(34px, 7vw, 48px);
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 620px;
    background-position: 55% center;
  }

  .hero-content {
    width: 100%;
    padding: 36px 22px;
    background: linear-gradient(90deg, rgba(0,0,0,.25), transparent);
  }

  .hero h1 {
    margin-bottom: 100px;
    font-size: 36px;
  }

  footer {
    flex-direction: column;
  }
}

.brand {
  gap: 0;
}

.brand-logo {
  display: block;
  width: 90px;
  height: 100px;
  object-fit: contain;
}
