.contacts-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(88px, 8vw, 132px) 0 clamp(76px, 7vw, 112px);
  color: #f7faff;
  background: #030a16;
  scroll-margin-top: 82px;
}

.contacts-section::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(80, 129, 205, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 129, 205, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  content: "";
}

.contacts-section::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(44, 125, 255, 0.86), transparent);
  box-shadow: 0 0 20px rgba(7, 88, 248, 0.44);
  content: "";
}

.contacts-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: start;
  gap: clamp(54px, 6.5vw, 108px);
}

.contacts-intro {
  padding-top: 12px;
}

.contacts-intro h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.4vw, 70px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.contacts-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #aebbd0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.7;
}

.contacts-channels {
  max-width: 650px;
  margin-top: 42px;
  border-top: 1px solid rgba(137, 166, 211, 0.18);
}

.contact-channel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 26px;
  min-height: 82px;
  padding: 15px 4px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(137, 166, 211, 0.18);
  transition: color 220ms ease, padding 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-channel__icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 158, 214, 0.22);
  border-radius: 8px;
  background: #0a1528;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-channel__icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.contact-channel__icon--telegram img {
  border-radius: 50%;
}

.contact-channel__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.contact-channel__copy small {
  color: #7f8ea7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-channel__copy strong {
  color: #f8fbff;
  font-size: 16px;
  font-weight: 700;
}

.contact-channel > svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #6f91c8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: stroke 220ms ease, transform 220ms ease;
}

.contact-form-wrap {
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid rgba(119, 153, 207, 0.22);
  border-radius: 8px;
  background: rgba(8, 18, 35, 0.92);
  box-shadow:
    0 34px 76px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 46px rgba(7, 88, 248, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.contact-field > span {
  color: #b6c2d4;
  font-size: 12px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(134, 161, 203, 0.22);
  border-radius: 6px;
  outline: 0;
  color: #f6f9ff;
  background: #071324;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-field input,
.contact-field select {
  height: 54px;
  padding: 0 15px;
}

.contact-field select {
  color-scheme: dark;
  cursor: pointer;
}

.contact-field textarea {
  min-height: 132px;
  padding: 15px;
  line-height: 1.55;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #64738b;
  opacity: 1;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(47, 132, 255, 0.86);
  background: #09172b;
  box-shadow: 0 0 0 3px rgba(7, 88, 248, 0.13), 0 0 22px rgba(7, 88, 248, 0.08);
}

.contact-field input:user-invalid,
.contact-field select:user-invalid,
.contact-field textarea:user-invalid {
  border-color: rgba(255, 99, 119, 0.65);
}

.contact-field--message {
  margin-top: 18px;
}

.contact-consent {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-consent__box {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(134, 161, 203, 0.34);
  border-radius: 4px;
  color: transparent;
  background: #071324;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-consent svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-consent input:checked + .contact-consent__box {
  border-color: #2879ff;
  color: #fff;
  background: #0758f8;
  box-shadow: 0 0 16px rgba(7, 88, 248, 0.3);
}

.contact-consent input:focus-visible + .contact-consent__box {
  outline: 2px solid #68a6ff;
  outline-offset: 3px;
}

.contact-consent small {
  color: #8290a6;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.contact-form__actions {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 14px;
}

.contact-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}

.contact-submit {
  min-width: 222px;
  padding: 0 20px;
  gap: 13px;
  border: 0;
  color: #fff;
  background: #0758f8;
  box-shadow: 0 14px 30px rgba(7, 88, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.contact-submit svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-form__notice {
  min-height: 20px;
  margin: 14px 0 0;
  color: #697990;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-form.is-ready .contact-form__notice {
  color: #66dca0;
}

@media (hover: hover) {
  .contact-channel:hover {
    padding-right: 0;
    padding-left: 10px;
  }

  .contact-channel:hover > svg {
    stroke: #64a6ff;
    transform: translate(2px, -2px);
  }

  .contact-submit:hover {
    background: #1165ff;
    box-shadow: 0 18px 38px rgba(7, 88, 248, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
  }

}

@media (max-width: 1120px) {
  .contacts-shell {
    grid-template-columns: 1fr;
  }

  .contacts-intro {
    max-width: 900px;
  }

  .contacts-channels {
    max-width: 820px;
  }

  .contact-form-wrap {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .contacts-section {
    padding: 72px 0 68px;
  }

  .contacts-intro h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contacts-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .contacts-channels {
    margin-top: 32px;
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

}

@media (max-width: 430px) {
  .contact-channel {
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 12px;
  }

  .contact-channel__icon {
    width: 42px;
    height: 42px;
  }

}

/* Clean contact layout */
.contacts-section {
  padding: clamp(84px, 7vw, 112px) 0 clamp(80px, 7vw, 108px);
  color: #07162f;
  background: #fff;
  border-top: 1px solid #e6ebf3;
}

.contacts-section::before,
.contacts-section::after {
  display: none;
}

.contacts-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(56px, 7vw, 112px);
}

.contacts-intro {
  padding-top: 4px;
}

.contacts-intro h2 {
  max-width: 700px;
  color: #07162f;
  font-size: clamp(44px, 4vw, 62px);
  line-height: 1.04;
}

.contacts-lead {
  max-width: 620px;
  margin-top: 22px;
  color: #59667c;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
}

.contacts-channels {
  max-width: 620px;
  margin-top: 36px;
  border-top-color: #dfe5ef;
}

.contact-channel {
  min-height: 76px;
  padding: 14px 0;
  border-bottom-color: #dfe5ef;
}

.contact-channel__icon {
  border-color: #e0e7f1;
  background: #f5f7fb;
  box-shadow: none;
}

.contact-channel__copy small {
  color: #8290a5;
}

.contact-channel__copy strong {
  color: #101c31;
}

.contact-channel > svg {
  stroke: #8290a5;
}

.contact-form-wrap {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #f6f8fb;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-field > span {
  color: #445168;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  border-color: #d9e0ea;
  color: #101c31;
  background: #fff;
  box-shadow: none;
}

.contact-field select {
  color-scheme: light;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #929daf;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #5c94ef;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(7, 88, 248, 0.09);
}

.contact-consent__box {
  border-color: #cfd7e3;
  background: #fff;
}

.contact-consent small {
  color: #69768a;
}

.contact-submit {
  background: #0758f8;
  box-shadow: none;
}

.contact-form__notice {
  color: #7b8799;
}

.contact-form.is-ready .contact-form__notice {
  color: #168a52;
}

@media (hover: hover) {
  .contact-channel:hover {
    padding-right: 0;
    padding-left: 0;
    color: #0758f8;
  }

  .contact-channel:hover > svg {
    stroke: #0758f8;
    transform: translate(2px, -2px);
  }

  .contact-submit:hover {
    background: #034ddf;
    box-shadow: none;
    transform: translateY(-1px);
  }

}

@media (max-width: 1120px) {
  .contacts-shell {
    grid-template-columns: 1fr;
  }

  .contacts-intro,
  .contacts-channels {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .contacts-section {
    padding: 68px 0 72px;
  }

  .contacts-intro h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }
}

.contacts-channels {
  display: grid;
  border-top: 0;
  gap: 12px;
}

.contact-channel {
  min-height: 68px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  box-shadow: none;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.contact-channel--telegram {
  background: linear-gradient(135deg, #38b0e3 0%, #1d93d2 100%);
}

.contact-channel--max {
  background: linear-gradient(135deg, #4b62f2 0%, #7135ee 58%, #9933dd 100%);
}

.contact-channel__icon {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.contact-channel__icon img {
  width: 28px;
  height: 28px;
}

.contact-channel__copy strong {
  color: #fff;
  font-size: 15px;
}

.contact-channel > svg {
  stroke: rgba(255, 255, 255, 0.92);
}

@media (hover: hover) {
  .contact-channel:hover {
    padding: 0 18px;
    color: #fff;
    box-shadow: 0 12px 26px rgba(22, 65, 124, 0.18);
    transform: translateY(-2px);
  }

  .contact-channel:hover > svg {
    stroke: #fff;
  }
}

.contact-channel {
  position: relative;
  grid-template-columns: 52px minmax(0, 1fr) 38px;
  min-height: 76px;
  padding: 0 16px 0 14px;
  overflow: hidden;
  isolation: isolate;
  gap: 16px;
  border: 0;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.contact-channel::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 66px;
  width: 112px;
  height: 112px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.1;
  transform: translateY(-50%) rotate(-8deg);
  transition: opacity 260ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-channel--telegram {
  background: linear-gradient(110deg, #168bc9 0%, #2aabee 52%, #137fbd 100%);
  box-shadow:
    0 14px 30px rgba(29, 147, 210, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-channel--telegram::before {
  background-image: url("../img/telegram.svg");
}

.contact-channel--max {
  background: linear-gradient(110deg, #4b62f2 0%, #7135ee 56%, #9b33d9 100%);
  box-shadow:
    0 14px 30px rgba(91, 51, 230, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-channel--max::before {
  background-image: url("../img/max.svg");
}

.contact-channel > * {
  position: relative;
  z-index: 1;
}

.contact-channel__icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-channel__icon img {
  width: 29px;
  height: 29px;
}

.contact-channel__copy strong {
  font-size: 15px;
  font-weight: 800;
}

.contact-channel > svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  stroke: #fff;
  transition: background 220ms ease, transform 220ms ease;
}

.contact-channel:focus-visible {
  outline: 3px solid rgba(7, 88, 248, 0.24);
  outline-offset: 4px;
}

.contact-channel:active {
  transform: translateY(0) scale(0.995);
}

@media (hover: hover) {
  .contact-channel:hover {
    padding: 0 16px 0 14px;
    box-shadow:
      0 18px 36px rgba(32, 74, 138, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
  }

  .contact-channel:hover::before {
    opacity: 0.16;
    transform: translateY(-50%) rotate(-4deg) scale(1.06);
  }

  .contact-channel:hover > svg {
    background: rgba(255, 255, 255, 0.22);
    stroke: #fff;
    transform: translate(2px, -2px);
  }
}

@media (max-width: 430px) {
  .contact-channel {
    grid-template-columns: 46px minmax(0, 1fr) 34px;
    min-height: 70px;
    padding: 0 12px;
    gap: 12px;
  }

  .contact-channel__icon {
    width: 44px;
    height: 44px;
  }

  .contact-channel::before {
    right: 48px;
    width: 92px;
    height: 92px;
  }

  .contact-channel > svg {
    width: 32px;
    height: 32px;
    padding: 8px;
  }
}

/* Minimal contact form */
.contact-form-wrap {
  padding: 4px 0 4px clamp(36px, 4.5vw, 72px);
  border: 0;
  border-left: 1px solid #dfe5ee;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form__grid {
  column-gap: 28px;
  row-gap: 26px;
}

.contact-field {
  gap: 7px;
}

.contact-field > span {
  color: #536078;
  font-size: 11px;
  font-weight: 700;
}

.contact-field input,
.contact-field select {
  height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #cfd7e3;
  border-radius: 0;
  color: #07162f;
  background: transparent;
  box-shadow: none;
}

.contact-field textarea {
  min-height: 148px;
  padding: 16px;
  border: 1px solid #d9e0ea;
  border-radius: 6px;
  color: #07162f;
  background: #f7f9fc;
  box-shadow: none;
}

.contact-field input:focus,
.contact-field select:focus {
  border-color: #0758f8;
  background: transparent;
  box-shadow: 0 1px 0 #0758f8;
}

.contact-field textarea:focus {
  border-color: #8bb4f5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(7, 88, 248, 0.07);
}

.contact-field--message {
  margin-top: 28px;
}

.contact-consent {
  margin-top: 18px;
}

.contact-form__actions {
  display: grid;
  margin-top: 26px;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-submit {
  width: 100%;
  min-height: 58px;
  border-radius: 6px;
}

.contact-form__notice {
  display: none;
  min-height: 0;
  margin: 14px 0 0;
}

.contact-form.is-ready .contact-form__notice {
  display: block;
}

@media (max-width: 1120px) {
  .contact-form-wrap {
    padding: 42px 0 0;
    border-top: 1px solid #dfe5ee;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .contact-form-wrap {
    padding-top: 34px;
  }

  .contact-form.is-ready .contact-form__actions {
    grid-template-columns: 1fr;
  }
}

/* Modern contact form */
.contacts-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 44%, #eef5ff 100%);
}

.contacts-shell {
  align-items: center;
}

.contacts-intro {
  padding-top: 0;
}

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.94)) padding-box,
    linear-gradient(135deg, rgba(7, 88, 248, 0.5), rgba(48, 202, 255, 0.34) 42%, rgba(31, 197, 126, 0.28) 72%, rgba(255, 255, 255, 0.88)) border-box;
  box-shadow:
    0 30px 72px rgba(10, 28, 60, 0.14),
    0 12px 30px rgba(7, 88, 248, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form-wrap::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(7, 88, 248, 0.08), transparent 32%, rgba(31, 197, 126, 0.06));
  background-size: 100% 100%;
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form__head {
  display: flex;
  min-height: 86px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-form__brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(143, 166, 203, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 255, 0.78)),
    radial-gradient(circle at 0 0, rgba(7, 88, 248, 0.12), transparent 48%);
  box-shadow:
    0 16px 34px rgba(24, 54, 103, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-form__brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(7, 88, 248, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(7, 88, 248, 0.12);
}

.contact-form__brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form__brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.contact-form__brand-copy strong {
  color: #07162f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-form__brand-copy small {
  color: #66758c;
  font-size: 10px;
  font-weight: 800;
}

.contact-form__call-art {
  display: block;
  width: clamp(58px, 7vw, 88px);
  height: auto;
  flex: 0 0 auto;
  margin: -8px 10px -6px 0;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(5deg);
  filter:
    drop-shadow(0 14px 20px rgba(7, 22, 47, 0.14))
    drop-shadow(0 7px 12px rgba(7, 88, 248, 0.12));
}

.contact-form__grid {
  gap: 16px;
}

.contact-field {
  position: relative;
  gap: 9px;
  padding: 15px 17px 13px;
  border: 1px solid rgba(144, 166, 202, 0.58);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.9)),
    radial-gradient(circle at 0 0, rgba(7, 88, 248, 0.08), transparent 46%);
  box-shadow:
    0 16px 34px rgba(26, 54, 98, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 -18px 34px rgba(230, 239, 253, 0.38) inset;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.contact-field > span {
  color: #45536d;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  border: 0;
  border-radius: 0;
  color: #07162f;
  background-color: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
}

.contact-field input,
.contact-field select {
  height: 34px;
  min-height: 34px;
  padding: 0;
}

.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #07162f 50%),
    linear-gradient(135deg, #07162f 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 52%,
    calc(100% - 7px) 52%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color-scheme: light;
}

.contact-field select:invalid {
  color: #8794a8;
}

.contact-field__native-select {
  position: absolute;
  right: 17px;
  bottom: 16px;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.contact-field--select {
  z-index: 3;
}

.contact-field--select.is-open {
  z-index: 30;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__button {
  display: grid;
  width: 100%;
  min-height: 35px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  cursor: pointer;
  outline: 0;
}

.custom-select__value {
  min-width: 0;
  overflow: hidden;
  color: #8794a8;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select.has-value .custom-select__value {
  color: #07162f;
}

.custom-select__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(133, 157, 196, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, #f5f9ff, #eaf2ff);
  color: #07162f;
  box-shadow:
    0 8px 18px rgba(20, 55, 110, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
  transform: rotate(0deg) scale(1);
  transform-origin: center;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.custom-select__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transform: rotate(0deg);
  transform-origin: center;
  transform-box: fill-box;
}

.custom-select__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 13px);
  right: -17px;
  left: -17px;
  display: grid;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(141, 163, 199, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
  box-shadow:
    0 24px 54px rgba(8, 23, 55, 0.18),
    0 8px 20px rgba(7, 88, 248, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -8px, 0) scale(0.985);
  transform-origin: top;
  visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity, transform;
  transition:
    opacity 200ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 300ms;
}

.custom-select.is-open .custom-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.custom-select.is-open .custom-select__icon {
  border-color: rgba(7, 88, 248, 0.34);
  color: #fff;
  background: linear-gradient(135deg, #0758f8, #0c7cff);
  box-shadow:
    0 12px 24px rgba(7, 88, 248, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transform: rotate(180deg) scale(1.06);
}

.custom-select.is-open .custom-select__icon svg {
  transform: rotate(0deg);
}

.custom-select__option {
  display: grid;
  min-height: 44px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 12px;
  padding: 0 12px;
  border-radius: 11px;
  color: #27364f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  outline: 0;
  transform: translate3d(0, 4px, 0);
  will-change: opacity, transform;
  transition:
    color 180ms ease,
    background 180ms ease,
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-select.is-open .custom-select__option {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.custom-select.is-open .custom-select__option:nth-child(1) {
  transition-delay: 30ms;
}

.custom-select.is-open .custom-select__option:nth-child(2) {
  transition-delay: 50ms;
}

.custom-select.is-open .custom-select__option:nth-child(3) {
  transition-delay: 70ms;
}

.custom-select.is-open .custom-select__option:nth-child(4) {
  transition-delay: 90ms;
}

.custom-select.is-open .custom-select__option:nth-child(5) {
  transition-delay: 110ms;
}

.custom-select__option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  background: transparent;
}

.custom-select__check svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.custom-select__option[aria-selected="true"] {
  color: #0758f8;
  background: linear-gradient(135deg, rgba(7, 88, 248, 0.11), rgba(16, 184, 216, 0.08));
}

.custom-select__option[aria-selected="true"] .custom-select__check {
  color: #fff;
  background: linear-gradient(135deg, #0758f8, #10b8d8);
}

.contact-field.is-invalid {
  border-color: rgba(255, 86, 113, 0.72);
  box-shadow:
    0 0 0 4px rgba(255, 86, 113, 0.08),
    0 14px 34px rgba(255, 86, 113, 0.08);
}

.contact-field textarea {
  height: 126px;
  min-height: 126px;
  max-height: 126px;
  padding: 2px 0 0;
  overflow-y: auto;
  line-height: 1.62;
  resize: none;
  scrollbar-color: #b7c9e2 transparent;
  scrollbar-width: thin;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8f9aad;
  font-weight: 600;
}

.contact-field:focus-within {
  border-color: rgba(7, 88, 248, 0.72);
  background:
    linear-gradient(180deg, #ffffff, #f9fcff),
    radial-gradient(circle at 0 0, rgba(7, 88, 248, 0.1), transparent 46%);
  box-shadow:
    0 0 0 4px rgba(7, 88, 248, 0.09),
    0 18px 40px rgba(21, 65, 135, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  background: transparent;
  box-shadow: none;
}

@supports selector(.contact-field:has(input:user-invalid)) {
  .contact-field:has(input:user-invalid),
  .contact-field:has(select:user-invalid),
  .contact-field:has(textarea:user-invalid) {
    border-color: rgba(255, 86, 113, 0.72);
    box-shadow:
      0 0 0 4px rgba(255, 86, 113, 0.08),
      0 14px 34px rgba(255, 86, 113, 0.08);
  }
}

.contact-field--message {
  margin-top: 16px;
}

.contact-consent {
  display: grid;
  width: 100%;
  margin-top: 16px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
}

.contact-consent__box {
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-color: #bfcbdb;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(30, 60, 100, 0.08);
  transform: translateZ(0);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-consent input:checked + .contact-consent__box {
  border-color: #0758f8;
  background: linear-gradient(135deg, #0758f8 0%, #0b77ff 100%);
  box-shadow:
    0 8px 18px rgba(7, 88, 248, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.contact-consent small {
  display: block;
  min-width: 0;
  padding-top: 0;
  color: #5c687c;
  font-size: 13px;
  line-height: 1.5;
}

.contact-consent__error {
  display: flex;
  max-height: 0;
  grid-column: 2;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #d6293f;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    max-height 220ms ease,
    margin-top 220ms ease,
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-consent__error::before {
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(214, 41, 63, 0.34);
  border-radius: 50%;
  background: rgba(214, 41, 63, 0.08);
  content: "!";
  font-size: 11px;
  font-weight: 900;
}

.contact-consent.is-invalid .contact-consent__box {
  border-color: rgba(214, 41, 63, 0.76);
  background: rgba(255, 246, 247, 0.96);
  box-shadow:
    0 0 0 4px rgba(214, 41, 63, 0.08),
    0 8px 18px rgba(214, 41, 63, 0.1);
  animation: contact-consent-nudge 420ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.contact-consent.is-invalid .contact-consent__error {
  max-height: 24px;
  margin-top: 7px;
  opacity: 1;
  transform: translateY(0);
}

@keyframes contact-consent-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  28% {
    transform: translateX(-3px);
  }

  56% {
    transform: translateX(3px);
  }

  78% {
    transform: translateX(-1px);
  }
}

.contact-consent a {
  color: #0758f8;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(7, 88, 248, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.contact-consent svg {
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-consent input:checked + .contact-consent__box svg {
  opacity: 1;
  transform: scale(1);
}

.contact-consent input:focus-visible + .contact-consent__box {
  outline: 3px solid rgba(7, 88, 248, 0.18);
  outline-offset: 3px;
}

.contact-form__actions {
  display: grid;
  margin-top: 24px;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-submit {
  min-height: 62px;
  border-radius: 16px;
}

.contact-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 20px 42px rgba(7, 88, 248, 0.28),
    0 8px 18px rgba(16, 184, 216, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, #0758f8 0%, #0b76ff 46%, #10b8d8 100%);
}

.contact-submit::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.34) 46%, transparent 62%);
  content: "";
  transform: translateX(-125%);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-submit span,
.contact-submit svg {
  position: relative;
  z-index: 1;
}

.contact-submit svg {
  transition: transform 220ms ease;
}

.contact-form__notice {
  display: none;
  min-height: 0;
}

.contact-form.is-ready .contact-form__notice {
  display: flex;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 197, 126, 0.24);
  border-radius: 14px;
  color: #0e7c4d;
  background: rgba(31, 197, 126, 0.08);
  font-size: 12px;
  line-height: 1.5;
}

@media (hover: hover) {
  .contact-field:hover {
    border-color: rgba(95, 133, 194, 0.64);
    box-shadow:
      0 18px 38px rgba(26, 54, 98, 0.11),
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 -18px 34px rgba(230, 239, 253, 0.4) inset;
    transform: translateY(-1px);
  }

  .custom-select:not(.is-open) .custom-select__button:hover .custom-select__icon {
    border-color: rgba(7, 88, 248, 0.32);
    color: #0758f8;
    background: linear-gradient(180deg, #ffffff, #edf5ff);
  }

  .custom-select__option:hover,
  .custom-select__option:focus {
    color: #0758f8;
    background: rgba(7, 88, 248, 0.07);
    transform: translateX(2px);
    transition-delay: 0ms;
  }

  .contact-consent__box:hover {
    border-color: rgba(7, 88, 248, 0.42);
    box-shadow:
      0 10px 22px rgba(7, 88, 248, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .contact-consent a:hover {
    color: #034ddf;
    text-decoration-color: rgba(3, 77, 223, 0.62);
  }

  .contact-submit:hover {
    background: linear-gradient(135deg, #034ddf 0%, #076dff 46%, #0aabc9 100%);
    box-shadow:
      0 24px 50px rgba(7, 88, 248, 0.34),
      0 10px 24px rgba(16, 184, 216, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
  }

  .contact-submit:hover::before {
    transform: translateX(125%);
  }

  .contact-submit:hover svg {
    transform: translate(3px, -2px) rotate(-4deg);
  }

}

.contact-consent__box:active {
  transform: scale(0.96);
}

.contact-form.has-status .contact-form__notice {
  display: flex;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 197, 126, 0.24);
  border-radius: 14px;
  color: #0e7c4d;
  background: rgba(31, 197, 126, 0.08);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form.is-error .contact-form__notice {
  border-color: rgba(220, 38, 38, 0.22);
  color: #a12323;
  background: rgba(220, 38, 38, 0.08);
}

.contact-form.is-sending .contact-submit,
.contact-submit:disabled {
  cursor: wait;
  opacity: 0.78;
  pointer-events: none;
}

.contact-form.is-ready .contact-form__actions {
  grid-template-columns: 1fr;
}

