:root {
  --yellow: #f5c400;
  --text: #4a4a4a;
  --muted: #6f6f6f;
  --border: #d9d9d9;
  --button: #0073aa;
  --button-hover: #005f8c;
  --page-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.page {
  width: min(100% - 32px, var(--page-width));
  margin: 0 auto;
  padding: 82px 0 70px;
}

.site-header {
  text-align: center;
  margin-bottom: 26px;
}

.logo {
  display: inline-block;
  width: 300px;
  height: auto;
}

.logo-top {
  width: 300px;
}

.hero {
  text-align: center;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4096 / 2160;
  object-fit: cover;
  background: #f7f7f7;
}

h1 {
  margin: 16px 0 16px;
  color: #454545;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.separator {
  border: 0;
  border-top: 1px solid var(--yellow);
  width: calc(100% - 64px);
  margin: 45px auto 76px;
}

.contact-form {
  width: 100%;
}

form {
  margin: 0;
}

.field {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 9px;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
}

label span {
  color: #cf2e2e;
}

input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  color: #333333;
  font: inherit;
  font-size: 15px;
  padding: 8px 10px;
  outline: none;
}

input {
  max-width: 470px;
  min-height: 36px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #9d9d9d;
  box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.18);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  display: inline-block;
  width: auto;
  min-width: 70px;
  border: 0;
  border-radius: 3px;
  background: var(--button);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 10px 15px;
}

.submit-button:hover,
.submit-button:focus {
  background: var(--button-hover);
}

.separator-footer {
  margin: 36px auto 24px;
}

.site-footer {
  text-align: center;
  color: #5b5b5b;
  font-size: 13px;
  line-height: 1.45;
}

.logo-footer {
  width: 96px;
  margin-bottom: 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #00843d;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, var(--page-width));
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .site-header {
    margin-bottom: 20px;
  }

  .logo-top,
  .logo-footer {
    width: 200px;
  }

  h1 {
    margin-top: 15px;
    font-size: 24px;
  }

  .intro {
    font-size: 13px;
  }

  .separator {
    width: 100%;
    margin: 34px auto 42px;
  }

  input {
    max-width: none;
  }

  textarea {
    min-height: 140px;
  }
}

.simple-page {
  text-align: center;
}

.message-card {
  margin-top: 48px;
}

.text-link {
  color: #00843d;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}
