*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7em;
  font-weight: 500;
  color: #fff;
  background: #00385e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 25vh 0 10vh;
}

/* fundal fix, acoperă tot viewport-ul indiferent de înălțimea conținutului */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* pe mobil: înălțimea maximă, chiar și când bara browserului se ascunde */
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(0, 79, 140, .17) 0%, rgba(0, 56, 94, .33) 50%),
    url(home.jpg) center / cover no-repeat;
}

.wrap {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  animation: slide-left 1s ease-in-out both;
}

.intro {
  max-width: 500px;
  margin: 0 auto;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.8em;
  text-align: justify;
  animation: slide-left 1s ease-in-out .2s both;
}
.intro p { margin: 0 0 1em; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  animation: slide-left 1s ease-in-out .4s both;
}
.actions hr {
  flex: 2 1 240px;
  margin: 0;
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, .2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  line-height: 1.7em;
  transition: color .3s ease, background-color .3s ease;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.btn-dark {
  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: #2653a1;
}
.btn-dark:hover { color: #2653a1; background: #a3d0ec; }

.btn-light {
  font-weight: 700;
  color: #2653a1;
  background: #a3d0ec;
}
.btn-light:hover { color: #fff; background: #2653a1; }

@keyframes slide-left {
  from { opacity: 0; transform: translateX(2%); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logo, .intro, .actions { animation: none; }
}

@media (max-width: 980px) {
  .hero { padding: 10vh 0; }
}
@media (max-width: 767px) {
  .hero { padding: 5vh 0; }
  .wrap { width: 80%; }
  .actions { justify-content: center; }
  .actions hr { display: none; }
  .btn { min-width: 220px; justify-content: center; }
}
