:root {
  --text-color: #f4f1eb;
  --shadow-color: rgba(0, 0, 0, 0.28);
  --overlay-dark: rgba(25, 35, 10, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text-color);
  background: #6c7a3c;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("assets/background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.15)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.03)),
    var(--overlay-dark);
  z-index: -1;
}

.content {
  width: min(100%, 1120px);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top-text {
  margin: 0 0 clamp(36px, 5vw, 64px);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px var(--shadow-color);
}

.logo {
  width: min(100%, 640px);
  height: auto;
  margin-bottom: clamp(44px, 7vw, 92px);
  filter: drop-shadow(0 2px 12px var(--shadow-color));
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-title,
.email {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px var(--shadow-color);
}

.email {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.email:hover,
.email:focus-visible {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .hero {
    background-position: 38% center;
  }

  .top-text {
    margin-bottom: 28px;
  }

  .logo {
    width: min(100%, 460px);
    margin-bottom: 36px;
  }

  .contact-block {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 24px 18px 32px;
  }

  .top-text {
    font-size: 30px;
  }

  .contact-title,
  .email {
    font-size: 24px;
    line-height: 1.2;
  }
}
