* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #087f9b;
}

.hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
  background-image: url("images/fond-desktop.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.10) 58%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.content {
  width: min(390px, 32vw);
  transform: translateX(18vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 26px 24px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo-wrap {
  display: block;
  width: 100%;
  text-align: center;
}

.logo {
  width: min(100%, 320px);
  max-height: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.25));
}

.social-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-button {
  min-height: 48px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.50);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
}

.social-button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    justify-content: center;
    align-items: flex-start;
    padding: 4svh 18px 3svh;
    background-image: url("images/fond-mobile.jpg");
    background-position: center top;
    background-size: cover;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.00) 38%,
      rgba(0, 0, 0, 0.30) 100%
    );
  }

  .content {
    width: min(390px, 100%);
    transform: none;
    margin: 0 auto;
    padding: 10px 14px 12px;
    gap: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .logo {
    width: min(43%, 180px);
    max-height: 150px;
  }

  .social-links {
    gap: 8px;
  }

  .social-button {
    min-height: 43px;
    padding: 10px 16px;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.46);
  }

  .site-footer {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  }
}

@media (max-height: 700px) and (max-width: 768px) {
  .hero {
    padding-top: 2svh;
  }
  .content {
    gap: 9px;
  }
  .logo {
    width: min(35%, 140px);
    max-height: 110px;
  }
  .social-button {
    min-height: 38px;
    padding: 8px 14px;
  }
}
