@font-face {
  font-family: 'english_towneregular';
  src: url('englishtowne-webfont.woff2') format('woff2'),
       url('englishtowne-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nunito';
  src: url('NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'nunito', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

.legal p {
  margin-bottom: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  border-bottom: 1px solid #061c40;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

header h1 {
  font-size: 1.5rem;
}

h1, h2, h3 {
  color: #061c40;
}

h1 {
  font-family: "english_towneregular";
  margin: 30px 0 25px;
  font-size: 50px;
  font-weight: 400;
}

p {
  font-size: 18px;
}

a {
  color: #061c40;
  text-decoration: none;
}

.btn {
  background: #061c40;
  color: #fff;
  padding: 15px 20px;
}

.info .btn {
  margin-top: 30px;
  display: inline-block;
}

.logo {
  max-width: 100px;
}

.logo-fm {
  max-width: 40px;
  margin: 40px 0;
}

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*background: rgba(0, 0, 0, 0.6);*/
  text-align: center;
  padding: 20px 0;
  max-width: 90%;
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);*/
}

.hero-content h2 {
  font-family: "english_towneregular";
  font-weight: 400;
  font-size: 70px;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 15px #0000004d;
}

.hero-content p, .hero-content h3 {
  font-size: 30px;
  color: #fff;
  text-shadow: 0 0 15px #0000004d;
}

main .container {
  padding: 2rem 1rem;
}

.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info {
  text-align: center;
  padding: 50px 25px;
}

.site-footer {
  background-color: #061c40;
  color: #ffffff;
  padding: 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-menu li a:hover {
  color: #cccccc;
}

@media (max-width: 600px) {
  .nav-inner,
  .footer-inner {
    flex-direction: column;
  }

  header a  {
    margin-top: 0.5rem;
  }

  .nav-inner .btn {
    display: none;
  }
    }
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 50px;
  }

  .hero-content p,
  .hero-content h3 {
    font-size: 22px;
  }

  h1 {
    font-size: 40px;
    margin: 20px 0;
    line-height: 1.1;
  }

  p {
    font-size: 17px;
  }

  .info h2 {
    font-size: 22px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 34px;
  }

  .hero-content p,
  .hero-content h3 {
    font-size: 16px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .btn {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }

  .logo-fm {
    margin: 20px 0;
  }

  .info h2 {
    font-size: 18px;
  }
}