@font-face {
  font-family: "AGFatumC-Regular";
  src: url("../fonts/agfatumc.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.contacts {
  font-family: "AGFatumC-Regular", Helvetica;
}

.contacts {
  background-color: #fffaf5;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.contacts .div {
  background-color: var(--background);
  overflow: hidden;
  width: 1440px;
  height: 1767px;
  position: relative;
}

.contacts .overlap {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 4232px;
  left: -10546px;
}

.contacts .group {
  position: absolute;
  width: 511px;
  height: 511px;
  top: 0;
  left: 0;
}

.contacts .img {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 0;
  left: 0;
}

.contacts .vector {
  position: absolute;
  width: 471px;
  height: 467px;
  top: 0;
  left: 0;
}

.contacts .overlap-group {
  position: absolute;
  width: 1442px;
  height: 1768px;
  top: -1px;
  left: -1px;
}

.contacts .group-2 {
  position: absolute;
  width: 732px;
  height: 1093px;
  top: 78px;
  left: 1px;
}

.contacts .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 121px;
  left: 166px;
}

.contacts .element-level {
  position: relative;
  width: fit-content;
  margin-top: -1px;

  font-weight: var(--text-secondary-regular-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--text-secondary-regular-font-size);
  letter-spacing: var(--text-secondary-regular-letter-spacing);
  line-height: var(--text-secondary-regular-line-height);
  white-space: nowrap;
  font-style: var(--text-secondary-regular-font-style);
}

.contacts .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1px;

  font-weight: var(--text-secondary-regular-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-secondary-regular-font-size);
  letter-spacing: var(--text-secondary-regular-letter-spacing);
  line-height: var(--text-secondary-regular-line-height);
  white-space: nowrap;
  font-style: var(--text-secondary-regular-font-style);
}

.contacts .help {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  position: absolute;
  top: 183px;
  left: 166px;
}

.contacts .span-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsheadlines);
  font-size: 48px;
  letter-spacing: 0;
  line-height: 48px;
}

.contacts .span {
  color: #a28240;
  line-height: var(--headlines-h2-line-height);

  font-style: var(--headlines-h2-font-style);
  font-weight: var(--headlines-h2-font-weight);
  letter-spacing: var(--headlines-h2-letter-spacing);
  font-size: var(--headlines-h2-font-size);
}

.contacts .div-2 {
  position: relative;
  width: 1110px;
  height: 454px;
}

.contacts .form {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  position: absolute;
  top: 0;
  left: 0;
}

.contacts .div-3 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.contacts .text-wrapper-2 {
  position: relative;
  width: 540px;
  margin-top: -1px;

  font-weight: var(--headlines-h4-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--headlines-h4-font-size);
  letter-spacing: var(--headlines-h4-letter-spacing);
  line-height: var(--headlines-h4-line-height);
  font-style: var(--headlines-h4-font-style);
}

.contacts .p {
  position: relative;
  width: 500px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  font-style: var(--text-main-medium-font-style);
}

.contacts .div-4 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
}

.contacts .input {
  display: flex;
  width: 400px;
  /* height: 70px;  <-- удалить эту строку */
  min-height: 70px; /* добавить для базовой высоты */
  align-items: flex-end;
  gap: 10px;
  padding: 0px 0px 10px;
  position: relative;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #eddfc9;
}

.contacts .label {
  position: relative;
  width: fit-content;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .button {
  all: unset;
  box-sizing: border-box;
  position: relative;
  width: 300px;
  height: 60px;
  background-image: url(../assets/icons/rectangle-238_1.svg);
  background-size: 100% 100%;
  cursor: pointer;
}

.contacts .button:hover {
  background-image: url(../assets/icons/rectangle-238-dark.png);
  cursor: pointer;
}

.contacts .text-wrapper-3 {
  position: absolute;
  top: 17px;
  left: 90px;

  font-weight: var(--text-main-bold-font-weight);
  color: var(--text-and-elementsheadlines);
  font-size: var(--text-main-bold-font-size);
  text-align: center;
  letter-spacing: var(--text-main-bold-letter-spacing);
  line-height: var(--text-main-bold-line-height);
  white-space: nowrap;
  font-style: var(--text-main-bold-font-style);
}

.contacts .arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 10px;
  left: 260px;
  background-color: var(--accent-colour);
  border-radius: 20px;
}

.contacts .arrow-2 {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 8px;
}

.contacts .div-5 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  position: absolute;
  top: 0;
  left: 570px;
}

.contacts .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1px;

  font-weight: var(--text-main-bold-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--text-main-bold-font-size);
  letter-spacing: var(--text-main-bold-letter-spacing);
  line-height: var(--text-main-bold-line-height);
  white-space: nowrap;
  font-style: var(--text-main-bold-font-style);
}

.contacts .telephone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.contacts .img-2 {
  position: relative;
  width: 24px;
  height: 24px;
}

.contacts .text-wrapper-5 {
  position: relative;
  width: fit-content;
  margin-top: -1px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .vedic-school-gmail {
  position: relative;
  width: fit-content;
  margin-top: -1px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
  background: transparent;
  border: none;
  padding: 0;
}

.contacts .social-media {
  gap: 15px;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-start;
}

.contacts .facebook-black {
  position: relative;
  width: 32px;
  height: 32px;
  background-image: url(../assets/icons/combined-shape.svg);
  background-size: 100% 100%;
}

.contacts .youtube-black {
  position: relative;
  width: 32px;
  height: 32px;
}

.contacts .youtube {
  position: relative;
  height: 32px;
  background-image: url(../assets/icons/combined-shape-3.svg);
  background-size: 100% 100%;
}

.contacts .fill {
  position: absolute;
  width: 4px;
  height: 5px;
  top: 14px;
  left: 14px;
}

.contacts .twitter-black {
  position: relative;
  width: 32px;
  height: 32px;
  background-image: url(../assets/icons/combined-shape-2.svg);
  background-size: 100% 100%;
}

.contacts .telegram-black {
  position: relative;
  width: 32px;
  height: 32px;
  background-image: url(../assets/icons/combined-shape-1.svg);
  background-size: 100% 100%;
}

.contacts .instagram {
  position: relative;
  width: 32px;
  height: 32px;
  background-image: url(../assets/icons/union.svg);
  background-size: 100% 100%;
}

.contacts .navbar-wrapper {
  position: absolute;
  width: 1442px;
  height: 82px;
  top: 0;
  left: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #d7b56d;
}

.contacts .navbar {
  position: relative;
  width: 1440px;
  height: 80px;
  background-color: #fff6ed;
}

.contacts .text-wrapper-6 {
  left: 706px;
  position: absolute;
  top: 30px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsmain-black);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.contacts .text-wrapper-7 {
  left: 610px;
  position: absolute;
  top: 30px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsmain-black);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.contacts .text-wrapper-8 {
  left: 541px;
  position: absolute;
  top: 30px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsmain-black);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.contacts .text-wrapper-9 {
  left: 778px;
  position: absolute;
  top: 30px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsmain-black);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.contacts .text-wrapper-10 {
  left: 835px;
  position: absolute;
  top: 30px;
  font-family: "AGFatumC-Regular", Helvetica;
  font-weight: 400;
  color: var(--text-and-elementsmain-black);
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.contacts .language {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: absolute;
  top: 28px;
  left: 1221px;
}

.contacts .group-3 {
  position: absolute;
  width: 223px;
  height: 70px;
  top: 5px;
  left: 165px;
}

.contacts .group-4 {
  position: absolute;
  width: 1440px;
  height: 891px;
  top: 877px;
  left: 1px;
}

.contacts .overlap-group-wrapper {
  position: absolute;
  width: 1444px;
  height: 390px;
  top: 0;
  left: 0;
}

.contacts .overlap-group-2 {
  position: relative;
  width: 1440px;
  height: 390px;
  background-image: url(../assets/images/image-8.png);
  background-size: cover;
  background-position: 50% 50%;
}

.contacts .element {
  position: absolute;
  width: 1440px;
  height: 390px;
  top: 0;
  left: 0;
  object-fit: cover;
}

.contacts .text-wrapper-11 {
  position: absolute;
  top: 170px;
  left: 435px;

  font-weight: var(--text-accent-font-weight);
  color: var(--text-and-elementsprimary-white);
  font-size: var(--text-accent-font-size);
  text-align: center;
  letter-spacing: var(--text-accent-letter-spacing);
  line-height: var(--text-accent-line-height);
  white-space: nowrap;
  font-style: var(--text-accent-font-style);
}

.contacts .text-wrapper-12 {
  position: absolute;
  top: 80px;
  left: 384px;

  font-weight: var(--headlines-h2-font-weight);
  color: var(--text-and-elementsprimary-white);
  font-size: var(--headlines-h2-font-size);
  letter-spacing: var(--headlines-h2-letter-spacing);
  line-height: var(--headlines-h2-line-height);
  white-space: nowrap;
  font-style: var(--headlines-h2-font-style);
}

.contacts .button-2 {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  top: 250px;
  left: 570px;
  width: 300px;
  height: 60px;
  background-image: url(../assets/icons/rectangle-238_1.svg);
  background-size: 100% 100%;
}

.contacts .button-2:hover {
  background-image: url(../assets/icons/rectangle-238-dark.png);
  cursor: pointer;
}

.contacts .overlap-wrapper {
  position: absolute;
  width: 1458px;
  height: 501px;
  top: 390px;
  left: 0;
}

.contacts .overlap-2 {
  position: relative;
  width: 1440px;
  height: 501px;
  background-color: #fff6ed;
}

.contacts .text-wrapper-13 {
  position: absolute;
  top: 70px;
  left: 545px;

  font-weight: var(--headlines-h4-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--headlines-h4-font-size);
  letter-spacing: var(--headlines-h4-letter-spacing);
  line-height: var(--headlines-h4-line-height);
  white-space: nowrap;
  font-style: var(--headlines-h4-font-style);
}

.contacts .text-wrapper-14 {
  position: absolute;
  top: 70px;
  left: 925px;

  font-weight: var(--headlines-h4-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--headlines-h4-font-size);
  letter-spacing: var(--headlines-h4-letter-spacing);
  line-height: var(--headlines-h4-line-height);
  white-space: nowrap;
  font-style: var(--headlines-h4-font-style);
}

.contacts .text-wrapper-15 {
  position: absolute;
  top: 169px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-16 {
  position: absolute;
  top: 208px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-17 {
  position: absolute;
  top: 130px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-18 {
  position: absolute;
  top: 247px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-19 {
  position: absolute;
  top: 286px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-20 {
  position: absolute;
  top: 325px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  font-style: var(--text-main-medium-font-style);
}

.contacts .international-vedic {
  position: absolute;
  width: 160px;
  top: 291px;
  left: 165px;

  font-weight: var(--text-secondary-regular-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-secondary-regular-font-size);
  letter-spacing: var(--text-secondary-regular-letter-spacing);
  line-height: var(--text-secondary-regular-line-height);
  font-style: var(--text-secondary-regular-font-style);
}

.contacts .phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: absolute;
  top: 130px;
  left: 925px;
}

.contacts .phone-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: absolute;
  top: 257px;
  left: 925px;
}

.contacts .social {
  flex-direction: column;
  gap: 15px;
  position: absolute;
  top: 350px;
  left: 925px;
  display: inline-flex;
  align-items: flex-start;
}

.contacts .group-5 {
  position: absolute;
  width: 140px;
  height: 200px;
  top: 70px;
  left: 165px;
}

.input input.label,
.input textarea.label {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  font-style: var(--text-main-medium-font-style);
  padding: 0;
  margin: 0;
  resize: none;
}

.input textarea.label {
  width: 100%;
  /* Уберите фиксированную высоту, если есть */
  min-height: 24px;
  /* Добавьте: */
  display: flex;
  align-items: stretch;
}

/* Убедитесь, что контейнер с полями (div-4) — flex-колонка */
.div-4 {
  display: flex;
  flex-direction: column;
  gap: 24px; /* или ваш отступ между полями */
}

.input textarea.label {
  min-height: 24px;
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-line;
  word-break: break-word;
  resize: none; /* Оставляем, чтобы пользователь не мог вручную менять размер */
  transition: height 0.2s;
}

.form form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.popup-overlay {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 30, 10, 0.45); /* полупрозрачный тёмный фон */
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-window {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 48px 48px 32px 48px;
  max-width: 545px;
  width: 90vw;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  color: #a28240;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.popup-close:hover {
  color: #7a5e2a;
}

.popup-content h2 {
  font-size: 56px;
  color: #a28240;
  margin-bottom: 24px;

  font-weight: var(--headlines-h2-font-weight, 700);
  font-size: var(--headlines-h2-font-size);
  letter-spacing: var(--headlines-h2-letter-spacing);
  line-height: var(--headlines-h2-line-height);
  font-style: var(--headlines-h2-font-style);
}

.popup-content p {
  font-size: var(--text-main-medium-font-size);
  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  letter-spacing: var(--text-main-medium-letter-spacing);
  /* color: #6d655c; */
  margin-bottom: 40px;

  line-height: var(--text-main-medium-line-height);
}

.popup-main-btn {
  all: unset;
  box-sizing: border-box;
  position: relative;
  width: 300px;
  height: 60px;
  background-image: url(../assets/icons/rectangle-238_1.svg);
  background-size: 100% 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.popup-main-btn:hover {
  background-image: url(../assets/icons/rectangle-238-dark.png);
  cursor: pointer;
}

.popup-main-btn .text-wrapper-3 {
  position: absolute;
  top: 17px;

  font-weight: var(--text-main-bold-font-weight);
  color: var(--text-and-elementsheadlines);
  font-size: var(--text-main-bold-font-size);
  text-align: center;
  letter-spacing: var(--text-main-bold-letter-spacing);
  line-height: var(--text-main-bold-line-height);
  white-space: nowrap;
  font-style: var(--text-main-bold-font-style);
}

.popup-main-btn:hover {
  background-image: url(../assets/icons/rectangle-238-dark.png);
}

.arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 10px;
  left: 260px;
  background-color: var(--accent-colour);
  border-radius: 20px;
}

.arrow-2 {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 8px;
}

.contacts .button12 {
  all: unset;
  box-sizing: border-box;
  position: relative;
  width: 300px;
  height: 60px;
  background-image: url(../assets/icons/rectangle-238_1.svg);
  background-size: 100% 100%;
}

.contacts .button12:hover {
  background-image: url(../assets/icons/rectangle-238-dark.png);
  cursor: pointer;
}

.popup-arrow {
  display: inline-block;
  margin-left: 24px;
  font-size: 32px;
  font-weight: bold;
  color: #a28240;
}

.contacts .text-wrapper-14 {
  position: absolute;
  top: 70px;
  left: 925px;

  font-weight: var(--headlines-h4-font-weight);
  color: var(--text-and-elementsmain-black);
  font-size: var(--headlines-h4-font-size);
  letter-spacing: var(--headlines-h4-letter-spacing);
  line-height: var(--headlines-h4-line-height);
  white-space: nowrap;
  font-style: var(--headlines-h4-font-style);
}

.contacts .text-wrapper-15 {
  position: absolute;
  top: 169px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-16 {
  position: absolute;
  top: 208px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-17 {
  position: absolute;
  top: 130px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-18 {
  position: absolute;
  top: 247px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-19 {
  position: absolute;
  top: 286px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  white-space: nowrap;
  font-style: var(--text-main-medium-font-style);
}

.contacts .text-wrapper-20 {
  position: absolute;
  top: 325px;
  left: 545px;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  font-style: var(--text-main-medium-font-style);
}

.contacts .international-vedic {
  position: absolute;
  width: 160px;
  top: 291px;
  left: 165px;

  font-weight: var(--text-secondary-regular-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-secondary-regular-font-size);
  letter-spacing: var(--text-secondary-regular-letter-spacing);
  line-height: var(--text-secondary-regular-line-height);
  font-style: var(--text-secondary-regular-font-style);
}

.contacts .phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: absolute;
  top: 130px;
  left: 925px;
}

.contacts .phone-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: absolute;
  top: 257px;
  left: 925px;
}

.contacts .social {
  flex-direction: column;
  gap: 15px;
  position: absolute;
  top: 350px;
  left: 925px;
  display: inline-flex;
  align-items: flex-start;
}

.contacts .group-5 {
  position: absolute;
  width: 140px;
  height: 200px;
  top: 70px;
  left: 165px;
}

.input input.label,
.input textarea.label {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;

  font-weight: var(--text-main-medium-font-weight);
  color: var(--text-and-elementssecondary-black);
  font-size: var(--text-main-medium-font-size);
  letter-spacing: var(--text-main-medium-letter-spacing);
  line-height: var(--text-main-medium-line-height);
  font-style: var(--text-main-medium-font-style);
  padding: 0;
  margin: 0;
  resize: none;
}

.input textarea.label {
  width: 100%;
  /* Уберите фиксированную высоту, если есть */
  min-height: 24px;
  /* Добавьте: */
  display: flex;
  align-items: stretch;
}

/* Убедитесь, что контейнер с полями (div-4) — flex-колонка */
.div-4 {
  display: flex;
  flex-direction: column;
  gap: 24px; /* или ваш отступ между полями */
}

.input textarea.label {
  min-height: 24px;
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-line;
  word-break: break-word;
  resize: none; /* Оставляем, чтобы пользователь не мог вручную менять размер */
  transition: height 0.2s;
}

.form form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
