@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #962722;
  --secondary-color: #202020;
  --primary-hover: #931710;
  --secondary-hover: #353535;

  --text-primary: #696969;
  --text-secondary: #ffffff;
  --text-inverted: #000;

  --background-color: #fff;
  --secondary-background: #f4f4f4;
  --accordion-active: #9628225d;
  --box-shadow: 0 0 20px 0 rgb(150, 39, 34, 15%);

  --border-radius-primary: 34px;
  --border-radius-secondary: 24px;

  --font-family: "Poppins", sans-serif;
  --secondary-family: "Bitter", sans-serif;
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body:has(.mobile-menu-active) {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  cursor: pointer;
}

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

section {
  overflow-x: hidden;
}

.title {
  font-weight: 700;
  font-size: 48px;
  line-height: 125%;
  letter-spacing: 0.03em;
  color: var(--text-inverted);
}

.title span {
  color: var(--primary-color);
}

.subtitle {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--text-inverted);
}

.descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 155%;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.section-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 155%;
  letter-spacing: 0.03em;
  font-weight: 400;
  margin-bottom: 20px;
  width: 100%;
}

.section-name span {
  font-weight: 700;
  color: var(--primary-color);
}

.section-name.left::before {
  content: "";
  display: block;
  width: 20%;
  height: 2px;
  background-color: #d8d8d8;
}

.section-name.center {
  justify-content: center;
}

.section-name.center::after {
  content: "";
  display: block;
  width: 20%;
  height: 2px;
  background-color: #d8d8d8;
}

.section-name.center::before {
  content: "";
  display: block;
  width: 20%;
  height: 2px;
  background-color: #d8d8d8;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 65px;
}

.container-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 80px;
}

.primary-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--text-secondary);

  display: block;
  background: var(--primary-color);
  padding: 12px 35px;
  border: none;
  border-radius: var(--border-radius-primary);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: var(--primary-hover);
  text-decoration: none;
  color: var(--text-secondary);
}

.primary-btn:hover img {
  transform: translateX(5px);
}

.primary-btn img {
  width: 18px;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.secondary-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--text-inverted);

  display: block;
  background: var(--text-secondary);
  padding: 12px 35px;
  border-radius: var(--border-radius-primary);
  border: none;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  text-decoration: none;
  color: var(--text-secondary);
  background-color: var(--text-primary);
}

.terms-privacy {
  padding: 140px 0 80px;
}

.terms-privacy .title {
  margin-bottom: 40px;
}

.terms-privacy .subtitle {
  margin: 25px 0;
}

.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-top: 180px;
}

.thank-you-container p {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-inverted);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.logo img {
  width: 80px;
  object-fit: contain;
}

.link {
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: var(--text-primary);

  text-decoration: none;
  position: relative;
  padding: 3px 12px;
  transition: all 0.3s ease-in-out;
}

.link::before {
  content: "";
  background-color: var(--primary-hover);
  border-radius: var(--border-radius-primary);
  position: absolute;
  left: 0px;
  width: 30%;
  bottom: 0;
  height: 1.5px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.link:hover::before {
  width: 100%;
}

.link:hover {
  color: var(--primary-hover);
}

@media screen and (max-width: 1240px) {
  .container {
    padding: 0 15px;
  }

  .title {
    font-size: 34px;
  }

  .title span {
    font-weight: 700;
    font-size: 32px;
  }

  .descr {
    font-weight: 400;
    font-size: 14px;
  }

  .section-name {
    font-size: 18px;
  }

  .primary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .secondary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .terms-privacy {
    padding: 120px 0 60px;
  }

  .terms-privacy .title {
    margin-bottom: 30px;
  }

  .terms-privacy .subtitle {
    margin: 25px 0;
  }
}
