.intro-block {
  background: #ffffff;
  overflow-x: hidden; /* чтобы декоративные элементы с отрицательным left не давали горизонтальный скролл */
}

.intro-block__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 715px;
}

.intro-block__title {
  position: absolute;
  top: 60px;
  left: 118px;
  width: 965px;

  margin: 0;
  text-align: center;
  color: #815583;
  font-size: 45px;
  line-height: 1.55;
  font-weight: 200;
  font-family: "TildaSans", Arial, sans-serif;
}

.intro-block__subtitle {
  position: absolute;
  top: 164px; /* отступ после заголовка ×1.5 для самого широкого PC */
  left: 55px;
  width: 1090px;

  margin: 0;
  text-align: center;
  color: #815583;
  font-size: 28px;
  line-height: 1.55;
  font-weight: 200;
  font-family: "TildaSans", Arial, sans-serif;
}

.intro-block__text {
  position: absolute;
  top: 241px;
  left: 131px;
  width: 939px;

  margin: 0;
  text-align: center;
  color: #815583;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 300;
  font-family: "TildaSans", Arial, sans-serif;
}

.intro-block__cta {
  position: absolute;
  top: 533px;
  left: 197px;
  width: 806px;

  margin: 0;
  text-align: center;
  color: #815583;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 400;
  font-family: "TildaSans", Arial, sans-serif;
}

.intro-block__flower,
.intro-block__thread {
  position: absolute;
  height: auto;
  display: block;
}

.intro-block__flower--top-left {
  top: -14px;
  left: -27px;
  width: 122px;
  transform: rotate(32deg);
}

.intro-block__flower--right {
  top: 409px;
  left: 920px;
  width: 261px;
}

.intro-block__thread {
  top: 612px;
  left: 314px;
  width: 572px;
}

/* <= 1199 (экран 960) */
@media (max-width: 1199px) {
  .intro-block__inner {
    max-width: 960px;
    min-height: 810px;
  }

  .intro-block__title {
    left: 129px;
    width: 703px;
    line-height: 1.1;
  }

  .intro-block__subtitle {
    top: 189px;
    left: 196px;
    width: 569px;
    line-height: 1.4;
  }

  .intro-block__text {
    top: 316px;
    left: 87px;
    width: 779px;
  }

  .intro-block__cta {
    top: 638px;
    left: 146px;
    width: 669px;
  }

  .intro-block__flower--right {
    top: 504px;
    left: 775px;
  }

  .intro-block__thread {
    top: 723px;
    left: 170px;
  }
}

/* <= 959 (экран 640) */
@media (max-width: 959px) {
  .intro-block__inner {
    max-width: 640px;
    min-height: 930px;
  }

  .intro-block__title {
    left: 83px;
    width: 474px;
    font-size: 40px;
  }

  .intro-block__subtitle {
    top: 199px;
    left: 36px;
    width: 569px;
  }

  .intro-block__text {
    top: 336px;
    left: 36px;
    width: 569px;
  }

  .intro-block__cta {
    top: 707px;
    left: 138px;
    width: 364px;
  }

  .intro-block__flower--right {
    top: 624px;
    left: 470px;
  }

  .intro-block__thread {
    top: 828px;
    left: -162px;
  }
}

/* <= 639 (экран 480) */
@media (max-width: 639px) {
  .intro-block__inner {
    max-width: 480px;
    min-height: 1200px;
  }

  .intro-block__title {
    left: 45px;
    width: 391px;
    font-size: 40px;
  }

  .intro-block__subtitle {
    top: 240px;
    left: 21px;
    width: 438px;
  }

  .intro-block__text {
    top: 425px;
    left: 37px;
    width: 407px;
  }

  .intro-block__cta {
    top: 959px;
    left: 46px;
    width: 364px;
  }

  .intro-block__flower--top-left {
    top: -13px;
    left: -93px;
  }

  .intro-block__flower--right {
    top: 894px;
    left: 329px;
  }

  .intro-block__thread {
    top: 1067px;
    left: -243px;
  }
}

/* <= 479 (экран 320) */
@media (max-width: 479px) {
  .intro-block__inner {
    max-width: 320px;
    min-height: 1480px;
  }

  .intro-block__title {
    left: 6px;
    width: 308px;
    font-size: 40px;
    line-height: 1.15;
  }

  .intro-block__subtitle {
    top: 293px;
    left: 19px;
    width: 282px;
  }

  .intro-block__text {
    top: 488px;
    left: 20px;
    width: 277px;
  }

  .intro-block__cta {
    top: 1164px;
    left: 11px;
    width: 298px;
  }

  .intro-block__flower--right {
    top: 1174px;
    left: 181px;
  }

  .intro-block__thread {
    top: 1293px;
    left: -322px;
  }
}

/* === Секция формы регистрации === */
.register-form-section {
  background-color: #f4eee9;
  padding: 30px 20px 40px;
  box-sizing: border-box;
}

#registration-form .form-element {
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 300;
}

#registration-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

#registration-form h2 {
  color: #815583;
  font-size: 36px;
  margin-bottom: 50px;
}

#registration-form label {
  color: #3d183e;
  font-size: 20px;
  display: block;
  text-align: left;
  margin-bottom: 8px;
  margin-top: 8px;
}

#registration-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 20px 15px;
  margin-bottom: 10px;
  border: 1px solid #b783b9;
  border-radius: 20px;
  font-size: 16px;
  color: #815583;
  box-sizing: border-box;
  background: transparent;
}

#registration-form input:not([type="checkbox"])::placeholder {
  color: #815583;
  opacity: 0.5;
}

#registration-form input:not([type="checkbox"]):focus {
  outline: none;
}

#registration-form .newsletter-row {
  margin: 18px 0 24px;
  text-align: left;
}

#registration-form .newsletter-row label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

#registration-form .newsletter-row .form-element {
  color: #3d183e;
  font-size: 18px;
}

#registration-form input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.3);
  accent-color: #815583;
  cursor: pointer;
}

#registration-form button {
  max-width: 500px;
  width: 300px;
  margin: 0 auto;
  display: block;
  padding: 15px;
  background-color: #815583;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

#registration-form button:hover:not(:disabled) {
  background-color: #7a527b;
}

#registration-form button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#registration-form button.loading::after {
  content: '...';
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  width: 0;
  animation: register-dots 1.2s steps(4, end) infinite;
}

@keyframes register-dots {
  to { width: 1.2em; }
}

#registration-form .consent-text {
  font-size: 16px;
  color: #815583;
  text-align: center;
  margin-top: 15px;
}

#registration-form .consent-text a {
  color: #815583;
  text-decoration: underline;
}

#registration-form .consent-text a:hover {
  color: #7a527b;
}

/* Disclosure reCAPTCHA Enterprise — требуется Google */
#registration-form .register-recaptcha-disclosure {
  font-size: 12px;
  color: #a88ba9;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

#registration-form .register-recaptcha-disclosure a {
  color: #a88ba9;
  text-decoration: underline;
}

#registration-form .register-recaptcha-disclosure a:hover {
  color: #815583;
}

#registration-form .error {
  color: #b83434;
  font-size: 16px;
  text-align: left;
  margin-top: 0;
  margin-bottom: 15px;
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#registration-form .error.visible {
  display: block;
  opacity: 1;
}

#registration-form #api-error {
  font-size: 24px;
  text-align: center;
}

#registration-form .error a {
  color: #815583;
  text-decoration: underline;
}

#registration-form .error a:hover {
  color: #7a527b;
}

#success-message {
  display: none;
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: #b783b9;
  color: #ffffff;
  border-radius: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#success-message.visible {
  display: block;
  opacity: 1;
}

#success-message h3 {
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 200;
  font-size: 40px;
  color: #ffffff;
  margin: 0 0 20px 0;
}

#success-message p {
  font-family: "TildaSans", Arial, sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: #ffffff;
  margin: 0;
}

/* Контейнер капчи: по центру по оси X, увеличенный отступ снизу */
#registration-form #registration-recaptcha-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 40px;
}

#registration-form .g-recaptcha {
  margin: 0;
  display: flex;
  justify-content: center;
}

#registration-form .recaptcha-invisible {
  margin: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
}

/* === Секция «Про узоры и ритм» === */
.story-block {
  background: #ffffff;
  padding: 60px 0 70px;
  box-sizing: border-box;
}

.story-block__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 390px;
  overflow: visible;
}

.story-block__text {
  position: absolute;
  top: 65px;
  left: 127px;
  width: 946px;

  margin: 0;
  text-align: center;
  color: #815583;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 300;
  font-family: "TildaSans", Arial, sans-serif;
}

.story-block__img {
  position: absolute;
  height: auto;
  display: block;
}

.story-block__img--left {
  top: 47px;
  left: -10px;
  width: 137px;
  transform: rotate(20deg);
}

.story-block__img--right {
  top: 200px;
  left: 1105px;
  width: 146px;
  transform: rotate(33deg);
}

/* <= 1199px (Tilda 960) */
@media (max-width: 1199px) {
  .story-block__inner {
    max-width: 960px;
    min-height: 410px;
  }

  .story-block__text {
    top: 45px;
    left: 86px;
    width: 788px;
  }

  .story-block__img--left {
    top: 40px;
    left: -67px;
  }

  .story-block__img--right {
    top: 171px;
    left: 861px;
  }
}

/* <= 959px (Tilda 640) */
@media (max-width: 959px) {
  .story-block__inner {
    max-width: 640px;
    min-height: 510px;
  }

  .story-block__text {
    top: 56px;
    left: 47px;
    width: 546px;
  }

  .story-block__img--left {
    top: 9px;
    left: -97px;
    transform: rotate(37deg);
  }

  .story-block__img--right {
    top: 271px;
    left: 570px;
    transform: rotate(333deg);
  }
}

/* <= 639px (Tilda 480) */
@media (max-width: 639px) {
  .story-block__inner {
    max-width: 480px;
    min-height: 620px;
  }

  .story-block__text {
    top: 40px;
    left: 19px;
    width: 442px;
  }

  .story-block__img--left {
    top: 9px;
    left: -104px;
  }

  .story-block__img--right {
    top: 337px;
    left: 431px;
    transform: rotate(326deg);
  }
}

/* <= 479px (Tilda 320) */
@media (max-width: 479px) {
  .story-block__inner {
    max-width: 320px;
    min-height: 850px;
  }

  .story-block__text {
    left: 12px;
    width: 297px;
  }

  .story-block__img--left {
    top: 29px;
    left: -114px;
  }

  .story-block__img--right {
    top: 633px;
    left: 288px;
    transform: rotate(235deg);
  }
}
