:root {
  --page-bg: #c9c7c7;
  --surface: #ffffff;
  --ink: #656565;
  --heading: #212121;
  --rose: #e2b6b8;
  --input-border: #e9e9e9;
  --wrapper: 840px;
  --page-width: 980px;
}

@font-face {
  font-family: "fontello";
  src: url("assets/fontello.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@media (min-width: 1240px) {
  :root {
    --wrapper: 940px;
    --page-width: 1140px;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  width: var(--page-width);
  max-width: 100%;
  margin: 0 auto;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Ruda", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--rose);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--rose);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.wrapper {
  width: var(--wrapper);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.top-contact {
  height: 60px;
  padding-top: 25px;
  color: var(--ink);
  font-size: 12px;
  line-height: 12px;
}

.top-contact a {
  color: #ffffff;
}

.top-contact em {
  font-style: italic;
}

.site-header {
  height: 140px;
  background: var(--surface);
  border-top-right-radius: 80px;
}

.header-inner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 257px;
  height: 80px;
  display: inline-block;
  flex: 0 0 257px;
}

.logo img {
  width: 257px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}

.main-menu {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.main-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin: 0;
  padding: 0;
}

.main-menu a {
  display: block;
  padding: 0 10px;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
}

.main-menu li.selected a,
.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--rose);
}

.mobile-menu {
  display: none;
}

.custom-header {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--surface);
}

.custom-header picture,
.custom-header img {
  width: 100%;
  height: 100%;
}

.custom-header img {
  object-fit: cover;
  object-position: 50% 50%;
}

.content {
  min-height: 750px;
  padding: 50px 0 20px;
  background: var(--surface);
}

.content p {
  margin: 0 0 24px;
}

.content h3 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.content h3 span,
.rose,
.rose a {
  color: var(--rose);
}

.content ul {
  margin: 0 0 24px 18px;
  padding: 0;
}

.content li {
  margin: 0;
  padding: 0;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-image {
  width: 300px;
  height: auto;
}

.contact-row {
  display: grid;
  grid-template-columns: 207px 1fr;
  gap: 38px;
  margin-bottom: 100px;
}

.contact-details strong {
  font-weight: 700;
}

.krown-form form {
  display: block;
}

.form-fields-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.contact-form label {
  display: block;
  height: 24px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 44px;
  padding: 0 17px;
}

.contact-form textarea {
  height: 220px;
  padding: 17px;
  resize: vertical;
}

.message-field {
  margin-bottom: 38px;
}

.contact-form .submit {
  width: 117px;
  height: 46px;
  margin: -15px 0 40px;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  background: #222222;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  text-transform: uppercase;
}

.contact-form .submit:hover,
.contact-form .submit:focus-visible {
  background: #222222;
}

.hidden-field {
  display: none;
}

.form-note {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

.clear-row {
  height: 24px;
}

.main-cta {
  height: 103px;
  padding: 35px 0;
  background: #f9f9f9;
}

.main-cta .wrapper {
  text-align: center;
}

.main-cta h4 {
  display: inline-block;
  margin: 0 20px 0 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.site-footer {
  height: 117px;
  margin-top: 60px;
  padding: 55px 0 50px;
  background: #222222;
  box-shadow: 0 -60px 0 var(--rose);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
}

.thanks-content {
  min-height: 360px;
}

.thanks-content h3 {
  color: var(--rose);
}

@media (max-width: 980px) {
  body {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .top-contact {
    height: auto;
    min-height: 60px;
    padding: 18px 20px;
    line-height: 18px;
  }

  .site-header,
  .header-inner,
  .main-menu {
    height: auto;
  }

  .site-header {
    padding: 25px 0;
    border-top-right-radius: 54px;
  }

  .header-inner {
    display: block;
    position: relative;
  }

  .logo {
    display: block;
    margin-bottom: 0;
  }

  .main-menu {
    display: block;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 25px;
    right: -8px;
  }

  .main-menu ul {
    display: none;
  }

  .main-menu::before {
    content: "\e8ba";
    display: block;
    width: 44px;
    height: 58px;
    color: #212121;
    cursor: pointer;
    font-family: "fontello";
    font-size: 29px;
    font-style: normal;
    font-weight: normal;
    line-height: 47px;
    text-align: left;
  }

  .mobile-menu {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    opacity: 0;
    cursor: pointer;
  }

  .custom-header {
    height: 230px;
  }

  .content {
    min-height: 0;
  }

  .about-columns,
  .contact-row,
  .form-fields-top {
    grid-template-columns: 1fr;
  }

  .contact-row {
    gap: 24px;
  }

  .form-fields-top {
    gap: 18px;
    margin-bottom: 18px;
  }

  .main-cta {
    height: auto;
  }

  .main-cta h4 {
    margin-right: 0;
  }

  .site-footer {
    height: auto;
    padding: 35px 0;
  }
}