.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background-color: #9dd7e3;
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-family: Arial, sans-serif;
  color: #1b2a32;
  font-weight: 900;
  font-size: clamp(1.1rem, 1.3vw, 1.6rem);
}

.site-brand {
  color: inherit;
  text-decoration: none;
  justify-self: start;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  border: 0;
  background: #1b2a32;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  justify-self: end;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: #1b2a32;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.header-link:hover {
  background-color: #263b45;
}

.site-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 56px;
  --hero-zoom: 1;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.site-hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  transform: scale(var(--hero-zoom));
  transform-origin: center;
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 40px));
  z-index: 1;
  color: #ffffff;
  text-align: center;
}

.hero-title {
  margin: 0 0 10px;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
  font-size: clamp(1.4rem, 3.1vw, 2.6rem);
  line-height: 1.15;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  margin: 0;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.site-footer {
  width: 100%;
  background: #12313c;
  color: #e8f4f7;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 26px 20px 16px;
  font-family: Arial, sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-block h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  color: #8fd0de;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-list a,
.footer-list span,
.footer-contact a {
  color: #e8f4f7;
  text-decoration: none;
  font-size: 0.97rem;
}

.footer-list a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #8fd0de;
}

.footer-contact {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  font-size: 0.88rem;
  color: #cde7ee;
  line-height: 1.6;
  text-align: center;
}

.footer-bottom a {
  color: #e8f4f7;
  text-decoration: none;
}

.footer-note {
  display: block;
  font-size: 0.95em;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 14px 16px;
  }

  .site-hero img {
    max-height: 320px;
  }

  .hero-content {
    width: calc(100% - 32px);
    bottom: 10%;
  }

  .footer-inner {
    padding: 22px 16px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 12px 14px;
    font-size: 1.1rem;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    gap: 10px;
  }

  .site-brand {
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    justify-self: stretch;
    margin-top: 4px;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-link {
    width: 100%;
    border-radius: 12px;
  }

  .site-hero img {
    max-height: 220px;
  }

  .site-hero {
    margin-top: 52px;
  }

  .hero-content {
    width: calc(100% - 28px);
    bottom: 9%;
  }

  .hero-title {
    margin-bottom: 8px;
  }

  .footer-inner {
    padding: 20px 14px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-block h3 {
    margin-bottom: 8px;
  }
}
