html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

li {
  list-style-type: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

html, body, * {
  font-family: "Heebo", sans-serif;
  font-size: 62.5%;
  letter-spacing: 0.05em;
}

p {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.thanks-section {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 200px 0;
}
.thanks-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.thanks-content {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.thanks-message {
  text-align: center;
  width: 100%;
  padding: 0 24px;
}
.thanks-message .thanks-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 56px;
  position: relative;
}
.thanks-message .thanks-title {
  font-size: clamp(22px, 5vw, 24px);
  font-weight: 700;
  color: #383838;
  margin-bottom: 40px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}
.thanks-message .thanks-text {
  max-width: 800px;
  text-align: left;
  font-size: 16px;
  line-height: 2;
  color: #383838;
  margin-bottom: 64px;
  opacity: 0;
  -webkit-animation: fadeInUp 0.8s ease-out 0.4s both;
          animation: fadeInUp 0.8s ease-out 0.4s both;
}
.thanks-message .thanks-text p {
  margin: 0;
  font-weight: 400;
}
.thanks-message .thanks-contact {
  margin-bottom: 72px;
}
.thanks-message .thanks-contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.thanks-message .thanks-contact__label {
  font-size: 14px;
  color: #0E184E;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.thanks-message .thanks-contact__value {
  font-size: clamp(24px, 3.5vw, 32px);
}
.thanks-message .thanks-contact__link {
  color: #1362A5;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}
.thanks-message .thanks-contact__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0E184E;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.thanks-message .thanks-contact__link:hover {
  color: #0E184E;
}
.thanks-message .thanks-contact__link:hover::after {
  width: 100%;
}
.thanks-message .thanks-btn {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .thanks-section {
    padding: 160px 0 140px;
    min-height: auto;
  }
  .thanks-message {
    padding: 0 20px;
  }
  .thanks-message .thanks-icon {
    margin-bottom: 48px;
  }
  .thanks-message .thanks-icon img {
    width: 180px;
    height: auto;
  }
  .thanks-message .thanks-title {
    font-size: clamp(20px, 4vw, 22px);
    margin-bottom: 32px;
  }
  .thanks-message .thanks-text {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 56px;
    padding: 0 20px;
  }
  .thanks-message .thanks-contact {
    margin-bottom: 64px;
  }
  .thanks-message .thanks-contact__label {
    font-size: 13px;
  }
  .thanks-message .thanks-contact__value {
    font-size: clamp(22px, 4vw, 28px);
  }
}
@media (max-width: 480px) {
  .thanks-section {
    padding: 120px 0 100px;
  }
  .thanks-message {
    padding: 0 16px;
  }
  .thanks-message .thanks-icon {
    margin-bottom: 40px;
  }
  .thanks-message .thanks-icon img {
    width: 140px;
    height: auto;
  }
  .thanks-message .thanks-title {
    font-size: clamp(18px, 5vw, 20px);
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .thanks-message .thanks-text {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 48px;
    padding: 0;
    text-align: left;
  }
  .thanks-message .thanks-contact {
    margin-bottom: 56px;
  }
  .thanks-message .thanks-contact__item {
    gap: 12px;
  }
  .thanks-message .thanks-contact__label {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
  .thanks-message .thanks-contact__value {
    font-size: clamp(20px, 5vw, 24px);
  }
  .thanks-message .thanks-contact__link {
    font-size: clamp(20px, 5vw, 24px);
  }
}