@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Comfortaa:wght@300..700&display=swap');

:root {
  --accent: #eed6dc;
  --accent_light: #fae8ed;
  --text: #ad57b6;
  --back: #fefefe;
  --pink: #efb2ce;
  --dark: #535353;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

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

body {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 100;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 22px;
  background-color: var(--back);
  color: var(--text);
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Caveat', cursive;
  font-weight: 100;
}

h1 {
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 100;
  color: var(--dark);
}

h1 span {
  font-size: 50px;
  font-weight: 400;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  text-align: center;
  background-color: #fff;
  color: var(--dark);
  padding: 15px;
  font-size: 15px;
}

footer a {
  color: var(--pink);
  text-transform: uppercase;
}

footer a {
  color: var(--text);
}

.menu-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.menu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230%;
  height: 200%;
  background: rgba(239, 178, 206, 0.59);
  border-radius: 80%;
  filter: blur(40px);
  z-index: -1;
}

.menu-toggle i {
  font-style: normal;
  padding-right: 30px;
  font-size: 28px;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  background-color: transparent;
}

.menu-toggle span {
  padding-left: 10px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  background: var(--text);
  height: 3px;
  width: 40px;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -10px;
}

.menu-toggle span::after {
  position: absolute;
  top: 10px;
}

.menu-toggle.active {
  background-color: transparent;
  box-shadow: none;
  justify-content: end;
}

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active i {
  display: none;
}

.menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

nav.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40vw;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: right 0.3s ease;
  z-index: 1000;
  background: linear-gradient(to left, white 70%, transparent 100%);
}

nav.menu.active {
  right: 0;
}

nav.menu a {
  color: var(--text);
  font-weight: 200;
  text-decoration: none;
  font-size: 26px;
  text-transform: uppercase;
}

header {
  min-height: 100vh;
  max-width: 100%;
  width: 100%;
  padding-bottom: 80px;
  position: relative;
}

header .back-image {
  position: absolute;
  bottom: 10vh;
  left: -183px;
  z-index: 1;
  opacity: 0.7;
}

.header-container {
  position: relative;
  z-index: 10;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-top: -40px;
}

.header-text img {
  right: 100px;
  width: 400px;
  height: 400px;
  border-radius: 100%;
  margin-bottom: 40px;
  object-position: top;
  object-fit: cover;
  box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -webkit-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -moz-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
}

.data {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.data span {
  font-size: 30px;
  color: var(--dark);
}

.offer {
  font-size: 65px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 30px 0;
  font-weight: bold;
}

.logo img {
  max-width: 400px;
}

.header-text .text {
  color: var(--dark);
}

.none {
  text-decoration: line-through;
}

.floating-btn {
  position: fixed;
  bottom: 12px;
  right: auto;
  left: auto;
  z-index: 999;
  padding: 15px 25px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}

.floating-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  min-width: 70vw;
  left: 15vw;
  right: auto;
}

.main-button,
button.main-button {
  min-width: 250px;
  min-height: 50px;
  background-color: #fff;
  padding: 15px;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -webkit-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -moz-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  cursor: pointer;
  color: var(--text);
  border-color: transparent;
  font-family: 'Comfortaa', sans-serif;
}

.header-text .main-button {
  margin-top: 40px;
}

.main-button .none {
  padding-left: 10px;
  font-size: 30px;
}

.title {
  display: flex;
  flex-direction: column;
  text-align: end;
  max-width: max-content;
}

.title h2 {
  text-transform: inherit;
  font-size: 80px;
  margin-bottom: 0;
  line-height: 1;
  white-space: nowrap;
  color: var(--dark);
}

.title b {
  text-transform: uppercase;
  color: var(--pink);
}

.title span {
  text-transform: uppercase;
  font-size: 50px;
  line-height: 1;
  color: var(--dark);
  white-space: nowrap;
  padding-left: 100px;
  font-family: 'Caveat', cursive;
  font-weight: 100;
}

section {
  padding: 100px 30px;
  position: relative;
  z-index: 2;
}

#whom {
  padding: 0;
  background: linear-gradient(to right, var(--accent), transparent);
}

.whom-container .back-image {
  margin: 40px auto;
  display: flex;
  position: absolute;
  z-index: 1;
}

#whom .back-image {
  position: absolute;
  top: 200px;
  right: -183px;
  z-index: 1;
  opacity: 0.7;
  width: 47vw;
}

.whom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 60px auto;
  padding: 100px;
  padding-left: 20px;
  width: 90vw;
  position: relative;
  z-index: 2;
}

.whom-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whom-steps > div {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.whom-steps img {
  width: 260px;
}

.whom-step p {
  margin: 0;
  font-size: 25px;
  color: var(--dark);
  font-weight: 100;
  line-height: 1.4;
}

.whom-step p span {
  font-family: 'Caveat', cursive;
  color: var(--text);
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 400;
}

.author-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}

.author-container > img {
  max-width: 45vw;
}

.title.small h2 {
  font-size: 30px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  font-family: 'Comfortaa', sans-serif;
}

.author-text p {
  color: var(--dark);
  margin-top: 30px;
  margin-bottom: 30px;
}

.author-text b {
  font-family: 'Caveat', cursive;
  font-weight: 100;
  text-transform: uppercase;
}

#program {
  padding-top: 0;
}

#program .back-image {
  position: absolute;
  bottom: 40%;
  left: 0;
  z-index: 1;
  opacity: 0.7;
  width: 66vw;
}

.program-container {
  position: relative;
  z-index: 2;
}

.program-container .title {
  text-align: center;
  margin: 0 auto;
  align-items: center;
}

.program-list {
  position: relative;
  max-width: 1250px;
  margin: 100px auto;
  padding: 40px 20px;
}

.program-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--accent_light);
  z-index: 0;
}

.program-item {
  position: relative;
  width: 50%;
  padding: 30px 30px;
  background: var(--accent_light);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(239, 178, 206, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  z-index: 1;
}

.program-item.program-item-btn {
  position: relative;
  box-shadow: none;
  background: transparent;
  border: 0;
  align-items: center;
  justify-content: center;
}

.program-item::before {
  content: '';
  position: absolute;
  top: 40px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(239, 178, 206, 0.4);
  z-index: 2;
}

.program-item.program-item-btn:nth-child(even) {
  margin-top: -54%;
}

.program-item.program-item-btn::before {
  display: none;
}

.program-item:nth-child(odd) {
  left: 0;
  transform: translateX(-10%);
}

.program-item:nth-child(odd)::before {
  right: -12%;
}

.program-item:nth-child(even) {
  left: 50%;
  transform: translateX(10%);
  margin-top: -40%;
}

.program-item:nth-child(even)::before {
  left: -12%;
}

.program-item img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(239, 178, 206, 0.3);
}

.program-item.program-item-btn img {
  box-shadow: none;
  margin-bottom: 30px;
}

.program-item-text h3 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--text);
  text-transform: uppercase;
}

.program-item-text h3 span {
  font-size: 30px;
  text-transform: uppercase;
  color: var(--dark);
}

.program-item-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.program-item-text li {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--dark);
}

#results {
  background-color: var(--accent);
  background: url('./images/results.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}

.results-title {
  text-align: center;
  margin-bottom: 60px;
}

.results-title h3 {
  font-size: 48px;
  color: var(--dark);
}

.results-title span {
  color: var(--pink);
  font-weight: 600;
  padding-left: 0;
}

.results-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.result-item {
  background: white;
  border-radius: 30px;
  padding: 30px 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(239, 178, 206, 0.25);
}

.result-item:last-child {
  grid-column: span 2;
  display: flex;
  align-items: center;
  box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -webkit-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -moz-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
}

.result-item:last-child p span {
  font-size: 45px;
  text-transform: uppercase;
  color: var(--text);
  font-family: 'Caveat', cursive;
}

.result-item p {
  font-size: 30px;
  line-height: 1.2;
  color: var(--dark);
  margin: 0;
  text-align: center;
}

.result-item:last-child p {
  font-size: 40px;
  line-height: 1.4;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin: 100px auto 0;
  max-width: 1400px;
}

.learning-item {
  position: relative;
  background: white;
  border-radius: 25px;
  padding: 140px 25px 30px;
  box-shadow: 0 10px 25px rgba(239, 178, 206, 0.25);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--text);
}

.learning-item::after {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('images/icons.png');
  background-size: 200%;
  background-repeat: no-repeat;
}

.icon-1::after {
  background-position: 0% 0%;
  width: 160px;
  height: 95px;
}

.icon-2::after {
  background-position: 102% -2%;
  width: 143px;
  height: 98px;
}

.icon-3::after {
  background-position: -1% 46%;
  width: 171px;
  height: 105px;
}

.icon-4::after {
  background-position: 102% 46%;
  width: 171px;
  height: 105px;
}

.icon-5::after {
  background-position: 0% 100%;
  width: 146px;
  height: 110px;
}

.icon-6::after {
  background-position: 107% 96%;
  width: 170px;
  height: 109px;
}

.learning-item p {
  font-size: 23px;
  line-height: 1.5;
  color: var(--dark);
  margin: 0;
}

#learning {
  max-width: 1440px;
  margin: auto;
}

#learning .title {
  margin: auto;
}

#learning .title h2 {
  display: flex;
  flex-direction: column;
}

.guarantee-content h3 {
  text-transform: uppercase;
  margin-top: 10px;
  font-size: 30px;
  margin-top: 30px;
}

#guarantee {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 0;
}

#guarantee .author-container img {
  max-height: 620px;
}

#guarantee .main-button {
  max-width: 450px;
  margin: 45px auto;
}

.masonry {
  column-count: 3;
  column-gap: 1rem;
  max-width: 1100px;
  margin: 20px auto;
}

.masonry img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 12px;
  display: block;
  break-inside: avoid;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#reviews .title h2 {
  font-size: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry {
    column-count: 1;
  }
  #reviews {
    flex-direction: column;
  }
}

#reviews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 100;
}

.faq-item {
  background: white;
  border-radius: 25px;
  box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -webkit-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -moz-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 30px 25px;
  text-align: left;
  background: none;
  border: none;
  font-size: 26px;
  font-family: inherit;
  color: var(--dark);
  cursor: pointer;
  font-weight: 500;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 26px;
  color: var(--text);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 15px 25px 25px;
  max-height: 400px;
}

#faq .title h2 {
  display: flex;
  flex-direction: column;
}

#faq .back-image {
  position: absolute;
  top: 200px;
  right: -183px;
  z-index: 1;
  opacity: 0.7;
  width: 47vw;
}

#contacts {
  background: var(--accent_light);
}

.sosial-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.circle-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-size: 36px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -webkit-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
  -moz-box-shadow: 3px 1px 68px 25px rgba(239, 178, 206, 0.79);
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.contact-container img {
  max-width: 40vw;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  max-width: 570px;
  margin: auto;
}

.contacts-list img {
  max-width: 400px;
}

.contacts-list h3 {
  text-transform: uppercase;
  color: var(--dark);
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #fff;
  padding: 40px 30px;
  max-width: 700px;
  width: 90%;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-window h3 {
  color: var(--dark);
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-form input {
  width: 100%;
  margin: 10px 0;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.modal-window .main-button {
  width: 100%;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 20px;
  margin: 20px 0;
}

.price-info {
  margin: 10px 0 20px;
  font-size: 20px;
}

.price-info span {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  margin-left: 10px;
}

.guarantee {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.timer-block {
  margin-top: 20px;
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 1024px) {
  body {
    font-size: 18px;
  }
  header {
    padding: 15px 15px 50px;
  }
  header .back-image {
    position: absolute;
    bottom: 5%;
    left: -62%;
    z-index: 1;
    opacity: 0.5;
  }
  .logo img {
    max-width: 260px;
  }
  .menu-toggle i {
    display: none;
  }
  nav.menu {
    width: 100vw;
    background-color: #fff;
  }
  .menu-toggle {
    top: 38px;
    right: 30px;
  }
  .header-text {
    margin-top: -5px;
  }
  .offer {
    font-size: 32px;
    max-width: 345px;
  }
  .header-text img {
    width: 300px;
    height: 300px;
  }
  h1 {
    margin-top: 30px;
    font-size: 30px;
  }
  .header-text .main-button {
    width: 95vw;
  }
  .title {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .title h2,
  #reviews .title h2 {
    display: flex;
    flex-wrap: wrap;
    font-size: 38px;
    justify-content: center;
    width: 100%;
  }
  .title span {
    font-size: 34px;
    padding-left: 0;
  }
  section {
    padding: 50px 15px;
  }
  .whom-container {
    padding: 0;
  }
  #whom {
    padding: 15px 0 10px;
    margin-top: 20px;
  }
  .whom-steps > div {
    padding: 20px 0;
  }
  .author-container {
    display: flex;
    flex-direction: column;
  }
  .author-container > img {
    max-width: 95vw;
    width: 95vw;
  }
  .author-text b {
    display: flex;
    flex-wrap: wrap;
  }
  .title.small h2 {
    font-size: 25px;
  }
  .program-item,
  .program-item:nth-child(even),
  .program-item:nth-child(odd) {
    width: 100%;
    left: 0;
    transform: none;
  }
  .program-list {
    margin: 20px auto;
    padding: 0;
    gap: 15px;
  }
  .program-list::before {
    display: none;
  }

  .program-item::before {
    display: none;
  }

  .program-item:nth-child(even) {
    margin-top: 0;
  }
  .program-item-text h3 {
    font-size: 20px;
  }
  .program-item-text li {
    font-size: 16px;
  }
  .program-item {
    margin-bottom: 20px;
  }
  .program-item.program-item-btn:nth-child(even) {
    margin-top: 0;
    padding: 0;
  }
  .program-container .title img {
    max-width: 94vw;
  }
  .results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .results-title {
    margin-bottom: 25px;
  }
  .result-item p {
    font-size: 24px;
  }
  .result-item:last-child {
    flex-direction: column;
  }
  .result-item:last-child p {
    font-size: 30px;
  }
  .learning-grid {
    display: flex;
    flex-direction: column;
    margin: 40px auto;
    gap: 22px;
  }
  .learning-item {
    max-width: 400px;
    margin: auto;
  }
  #learning {
    padding-bottom: 0;
  }
  #guarantee .author-container img {
    width: 100vw;
  }
  .guarantee-content h3 {
    font-size: 22px;
    margin-top: 20px;
  }
  #guarantee .main-button {
    font-size: 16px;
    text-align: center;
  }
  .main-button .none {
    font-size: 25px;
  }
  .learning-item p {
    font-size: 19px;
  }
  .contact-container {
    flex-direction: column;
    margin-top: 20px;
  }
  .contacts-list img {
    max-width: 315px;
  }
  .contact-container img {
    max-width: 98vw;
    width: 98vw;
  }
  #contacts .title {
    text-align: center;
    align-items: center;
  }
  .floating-btn.show {
    min-width: 99vw;
    bottom: 10px;
    left: auto;
  }
  .sosial-icons {
    gap: 10px;
  }
  .circle-icon {
    width: 70px;
    height: 70px;
  }
}
