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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111d;
  overflow: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.page picture {
  display: block;
  width: 100%;
  height: 100%;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(18px, 5vh, 56px);
  display: grid;
  gap: 10px;
  min-width: min(300px, calc(100vw - 36px));
  padding: 16px 18px 17px;
  color: #ffffff;
  background: rgba(3, 10, 18, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact h1 {
  margin: 0 0 2px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  color: #ffffff;
  font-size: clamp(0.94rem, 2.4vw, 1.08rem);
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.contact a:focus-visible {
  outline: 2px solid #8abfff;
  outline-offset: 3px;
}

.seo-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .page {
    height: 100vh;
    height: 100dvh;
  }

  .background {
    object-position: center center;
  }

  .contact {
    right: auto;
    left: 50%;
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px));
    width: min(286px, calc(100vw - 32px));
    min-width: 0;
    transform: translateX(-50%);
    gap: 4px;
    padding: 10px 12px 11px;
    text-align: center;
    justify-items: center;
    background: rgba(3, 10, 18, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .contact h1 {
    font-size: 0.7rem;
  }

  .contact a {
    min-height: 38px;
    font-size: 0.88rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .background {
    object-position: center center;
  }

  .contact {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: auto;
    transform: none;
    width: min(300px, calc(100vw - 32px));
    padding: 12px 14px;
  }

  .contact a {
    min-height: 38px;
  }
}

@media (max-width: 360px) {
  .background {
    object-position: center center;
  }

  .contact {
    right: auto;
    left: 50%;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
    width: min(268px, calc(100vw - 24px));
    padding: 9px 11px 10px;
  }

  .contact a {
    font-size: 0.9rem;
  }
}
