.teilor-page {
  padding: 28px 20px 48px;
  color: #34291e;
  background: #f7edda url("img/gold-background.png") center top / cover no-repeat;
  font: 400 16px/1.6 "DM Sans", Arial, sans-serif;
}

.teilor-page,
.teilor-page * {
  box-sizing: border-box;
}

.teilor-page :is(h1, h2, p) {
  margin: 0;
}

.teilor-page .teilor-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.teilor-page .teilor-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #d6b778;
  border-radius: 16px 16px 0 0;
  background: #f8e5be;
}

.teilor-page .teilor-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.teilor-page .teilor-logo {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
}

.teilor-page .teilor-logo-partner {
  top: 7%;
  left: 3%;
  width: 23%;
}

.teilor-page .teilor-logo-show {
  top: 4%;
  right: 3%;
  width: 13%;
}

.teilor-page .teilor-content {
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid #d8c5a5;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(145deg, #fffdf9 0%, #fffaf0 60%, #f8efdf 100%);
  box-shadow: 0 20px 55px #68461514;
}

.teilor-page .teilor-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.teilor-page .teilor-eyebrow {
  margin-bottom: 10px;
  color: #94621e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.teilor-page h1,
.teilor-page h2 {
  color: #34291e;
  font-family: "Baskervville", Georgia, serif;
  font-weight: 400;
}

.teilor-page h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
}

.teilor-page .teilor-description {
  margin-top: 22px;
  color: #72634f;
  font-size: 18px;
}

.teilor-page .teilor-invitation {
  margin-top: 16px;
  font-weight: 700;
}

.teilor-page .teilor-form {
  max-width: 800px;
  margin: clamp(30px, 5vw, 56px) auto 0;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid #d8c5a5;
  border-radius: 12px;
  background: #ffffffb3;
}

.teilor-page h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  text-align: center;
}

.teilor-page .teilor-required-note {
  margin: 10px 0 26px;
  color: #72634f;
  font-size: 13px;
  text-align: center;
}

.teilor-page .teilor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.teilor-page .teilor-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #34291e;
  font-size: 14px;
  font-weight: 600;
}

.teilor-page .teilor-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d8c5a5;
  border-radius: 6px;
  background: #fffdf8;
  color: #34291e;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.teilor-page .teilor-field input:hover {
  border-color: #b99a65;
}

.teilor-page .teilor-consents {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.teilor-page .teilor-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #72634f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.teilor-page .teilor-checkbox input {
  position: static;
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  appearance: auto;
  opacity: 1;
  accent-color: #94621e;
}

.teilor-page a {
  color: #805217;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teilor-page a:hover {
  color: #4c3010;
}

.teilor-page .teilor-submit {
  display: block;
  width: min(100%, 250px);
  min-height: 52px;
  margin: 30px auto 0;
  padding: 13px 28px;
  border: 1px solid #a4742f;
  border-radius: 6px;
  background: linear-gradient(115deg, #f3d99d 0%, #dfb965 50%, #eaca89 100%);
  box-shadow: 0 5px 14px #8b5c1b1a;
  color: #38250f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.teilor-page .teilor-submit:hover {
  background: #efd08b;
}

.teilor-page .teilor-form-status {
  margin-top: 18px;
  color: #72634f;
  font-size: 14px;
  text-align: center;
}

.teilor-page :is(a, button, input):focus-visible {
  outline: 3px solid #94621e;
  outline-offset: 4px;
}

.teilor-page .teilor-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .teilor-page {
    padding: 16px 12px 28px;
  }

  .teilor-page .teilor-hero {
    border-radius: 10px 10px 0 0;
  }

  .teilor-page .teilor-content {
    padding: 30px 18px;
    border-radius: 0 0 10px 10px;
  }

  .teilor-page .teilor-description {
    font-size: 16px;
  }

  .teilor-page .teilor-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .teilor-page .teilor-form {
    padding: 24px 16px;
  }
}

.header>.main-container {
  width: 100%;
  max-width: 1030px;
  margin-inline: auto;
}

footer {
  text-align: center !important;
  position: relative !important;
  max-width: 1030px;
  display: block !important;
  margin: 0 auto !important;
  background-color: #fff;
}

.teilor-page .teilor-question-box {
  margin-bottom: 26px;
  padding: 16px 20px;
  border: 1px solid #e2cfa8;
  border-radius: 8px;
  background: #fdf7ea;
  text-align: center;
}

.teilor-page .teilor-question-label {
  display: block;
  margin-bottom: 6px;
  color: #94621e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.teilor-page .teilor-question-text {
  color: #34291e;
  font-family: "Baskervville", Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
}

.teilor-page .teilor-field {
  align-content: start;
}

.teilor-page .teilor-field-full {
  grid-column: 1 / -1;
}

.teilor-page .teilor-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 110px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d8c5a5;
  border-radius: 6px;
  background: #fffdf8;
  color: #34291e;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  resize: vertical;
}

.teilor-page .teilor-field textarea:hover {
  border-color: #b99a65;
}

.teilor-page .teilor-field :is(input, textarea)[aria-invalid="true"] {
  border-color: #b42318;
}

.teilor-page .eroarez {
  display: none;
  color: #b42318;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.teilor-page #success-msg {
  display: none;
  max-width: 800px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border: 1px solid #2e7d32;
  border-radius: 10px;
  background: #eef8ef;
  color: #1b5e20;
  font-weight: 600;
  text-align: center;
}

.teilor-page #warning-msg {
  display: none;
  max-width: 800px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border: 1px solid #b42318;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
  font-weight: 600;
  text-align: center;
}

.teilor-page .teilor-closed-msg {
  margin-top: 32px;
  text-align: center;
}

.teilor-page .teilor-submit {
  width: min(100%, 280px);
}