:root {
  --bg: #0b0b0c;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --card: rgba(0, 0, 0, 0.5);
  --border: rgba(255, 255, 255, 0.18);
  --focus: rgba(255, 255, 255, 0.55);
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
  background: rgba(0, 0, 0, 0.25);
}

.site-footer__line {
  margin: 0;
}

.site-footer__line + .site-footer__line {
  margin-top: 6px;
}

.site-footer__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__link:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px 0 calc(96px + env(safe-area-inset-bottom));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 32px));
  padding: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.hero__brand {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.hero__logo {
  width: min(260px, 76%);
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.2));
}

.hero__title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.2px;
}

.hero__subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.field__input {
  appearance: none;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--fg);
  outline: none;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field__input:focus {
  border-color: var(--focus);
}

.contact-form__submit {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.14);
  color: var(--fg);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
}

.contact-form__submit:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-form__social {
  justify-self: center;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.14);
  color: var(--fg);
  text-decoration: none;
}

.contact-form__social:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-form__social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-form__status {
  margin: 4px 0 0;
  min-height: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 768px) {
  .hero__content {
    width: min(560px, calc(100% - 48px));
    padding: 24px;
    border-radius: 18px;
  }

  .hero__logo {
    width: 300px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 15px;
  }
}
