:root {
  --contacts-content-max: var(--content-max, 1520px);
  --contacts-shell-max: 1340px;
  --contacts-line: rgba(198, 214, 245, 0.32);
  --contacts-kicker: #8fd2ff;
  --contacts-title: #ffffff;
  --contacts-copy: #c5d0eb;
  --contacts-muted: #93a4cb;
  --contacts-card: rgba(29, 42, 98, 0.82);
  --contacts-card-soft: rgba(23, 34, 84, 0.76);
  --contacts-card-border: rgba(152, 176, 230, 0.18);
  --contacts-input: rgba(18, 28, 76, 0.92);
  --contacts-shadow: 0 20px 52px rgba(9, 16, 45, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
}

.content {
  width: min(var(--contacts-content-max), calc(100% - var(--content-gutter, 64px)));
  margin: 0 auto;
}

.contacts-main {
  padding: 0 0 72px;
}

.contacts-section + .contacts-section {
  margin-top: 10px;
}

.contacts-shell {
  max-width: var(--contacts-shell-max);
  margin: 0 auto;
}

.contacts-shell {
  border-top: 1px solid var(--contacts-line);
  padding-top: 28px;
  padding-bottom: 28px;
}

.contacts-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 44px;
  align-items: start;
}

.contacts-home-hero-shell {
  min-height: 600px;
  margin: 10px 0 40px;
  padding: 72px 0 88px;
  background:
    linear-gradient(105deg, rgba(7, 16, 42, 0.82) 0%, rgba(7, 16, 42, 0.46) 45%, rgba(7, 16, 42, 0.28) 100%),
    url('sitealcionnewimages/banner4.png') center/cover no-repeat;
  box-shadow: 0 28px 70px rgba(3, 8, 30, 0.35);
}

.contacts-home-hero-shell .content {
  width: min(var(--contacts-content-max), calc(100% - var(--content-gutter, 64px)));
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.contacts-row-social,
.contacts-row-youtube {
  min-height: 104px;
}

.contacts-row-channel {
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 44px;
  align-items: start;
}

.contacts-channel-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 30px;
  align-items: stretch;
  padding: 34px 36px;
  border-radius: 30px;
  border: 1px solid rgba(160, 184, 242, 0.18);
  background:
    radial-gradient(circle at 0% 50%, rgba(109, 78, 180, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(82, 125, 255, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(30, 39, 92, 0.9), rgba(22, 30, 76, 0.88));
  box-shadow: 0 22px 60px rgba(6, 11, 32, 0.22);
  position: relative;
  overflow: hidden;
}

.contacts-channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%);
  opacity: 0.4;
}

.contacts-row-email {
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 44px;
  align-items: start;
}

.contacts-kicker {
  padding-top: 6px;
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--contacts-kicker);
}

.contacts-hero-copy,
.contacts-social-copy {
  max-width: 800px;
}

.contacts-social-copy h2 {
  margin: 0 0 14px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.02;
  font-weight: 800;
  color: var(--contacts-title);
}

.contacts-hero-copy h1 {
  max-width: 800px;
}

.contacts-hero-copy p,
.contacts-social-copy p,
.contacts-channel-copy p,
.contacts-email-copy p,
.contacts-youtube-card p {
  margin: 0;
  color: var(--contacts-copy);
  font-size: 16px;
  line-height: 1.6;
}

.contacts-hero-copy p {
  max-width: 430px;
}

.contacts-primary-btn {
  gap: 10px;
  min-width: auto;
  padding-inline: 28px;
  box-shadow: 0 18px 34px rgba(41, 127, 241, 0.28);
}

.contacts-hero-actions {
  margin-top: 28px;
}

.contacts-primary-btn:hover,
.contacts-chip-btn:hover,
.contacts-submit-btn:hover {
  transform: translateY(-2px);
}

.contacts-social-copy p {
  max-width: 500px;
}

.contacts-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.contacts-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contacts-socials svg {
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.3s ease;
  fill: url(#iconGradient);
  filter: drop-shadow(0 0 8px rgba(31, 166, 245, 0.4));
}

.contacts-socials svg:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(43, 120, 245, 0.6));
}

.contacts-telegram-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  position: relative;
  z-index: 1;
}

.contacts-telegram-orbit {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(196, 208, 245, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    url('sitealcionnewimages/planetmeditation.png') center/cover no-repeat;
  box-shadow:
    0 0 0 10px rgba(151, 179, 255, 0.04),
    0 18px 34px rgba(9, 16, 46, 0.28);
}

.contacts-telegram-orbit::before,
.contacts-telegram-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contacts-telegram-orbit::before {
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contacts-telegram-orbit::after {
  inset: auto;
  left: 50%;
  bottom: 16px;
  width: 96px;
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(98, 152, 255, 0.24), transparent 72%);
  filter: blur(6px);
}

.contacts-channel-copy {
  max-width: 560px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacts-channel-copy h2 {
  margin: 0 0 14px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.04;
  font-weight: 800;
  color: var(--contacts-title);
}

.contacts-channel-copy p + p {
  margin-top: 12px;
}

.contacts-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(161, 178, 227, 0.24);
  background: rgba(73, 86, 128, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contacts-row-channel .contacts-chip-btn {
  margin-top: 22px;
  min-height: 52px;
  padding: 0 24px;
  border-color: rgba(132, 180, 255, 0.16);
  background: linear-gradient(135deg, #2298e6, #695ff7);
  box-shadow: 0 16px 34px rgba(37, 115, 245, 0.28);
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
}

.contacts-row-channel .contacts-chip-btn:hover {
  background: linear-gradient(135deg, #30a6f4, #756cff);
}

.contacts-chip-btn i:first-child {
  font-size: 17px;
}

.contacts-chip-btn i:last-child {
  font-size: 18px;
}

.contacts-youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contacts-youtube-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--contacts-card-border);
  background:
    radial-gradient(circle at top center, rgba(255, 80, 80, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(105, 116, 225, 0.24), rgba(29, 41, 96, 0.82)),
    rgba(22, 31, 78, 0.72);
  box-shadow: var(--contacts-shadow);
  text-align: center;
  align-items: center;
}

.contacts-youtube-preview {
  width: 100%;
  height: 118px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 89, 89, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(6, 10, 27, 0.08), rgba(6, 10, 27, 0.34)),
    var(--yt-banner) center/cover no-repeat;
  border: 1px solid rgba(223, 231, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contacts-youtube-avatar {
  width: 88px;
  height: 88px;
  margin: -24px auto 16px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    var(--yt-avatar) center/cover no-repeat;
  border: 3px solid rgba(236, 242, 255, 0.92);
  box-shadow:
    0 16px 32px rgba(12, 20, 55, 0.32),
    0 0 0 6px rgba(255, 255, 255, 0.05);
}

.contacts-youtube-card h3 {
  margin: 0 0 12px;
  min-height: 88px;
  font-family: 'Nunito', sans-serif;
  font-size: 25px;
  line-height: 1.14;
  font-weight: 800;
  color: #f7f9ff;
}

.contacts-youtube-card p {
  width: 100%;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.62;
  color: #c4cfeb;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.contacts-youtube-card .contacts-chip-btn {
  margin-top: 28px;
  align-self: center;
  min-height: 52px;
  padding: 0 24px;
  border-color: rgba(255, 120, 120, 0.18);
  background: linear-gradient(135deg, #ff4d6d, #5b6cff);
  box-shadow: 0 16px 34px rgba(71, 96, 255, 0.22);
  font-size: 14px;
  gap: 10px;
}

.contacts-youtube-card .contacts-chip-btn:hover {
  background: linear-gradient(135deg, #ff5d63, #6b78ff);
}

.contacts-email-copy {
  grid-area: copy;
  max-width: 520px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
}

.contacts-email-section .contacts-kicker {
  display: block;
  padding-top: 8px;
}

.contacts-email-section .contacts-email-copy::before {
  content: "E-mail support";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(162, 182, 235, 0.24);
  background: rgba(72, 92, 154, 0.18);
  color: #9fd8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts-email-section .contacts-email-copy::after {
  content: "";
}

.contacts-email-section .contacts-email-copy > p:first-of-type::before {
  content: "Напишите нам";
  display: block;
  margin: 0 0 14px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.02;
  font-weight: 800;
  color: #f7f9ff;
}

.contacts-email-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(162, 182, 235, 0.24);
  background: rgba(72, 92, 154, 0.18);
  color: #9fd8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts-email-copy h2 {
  margin: 0 0 14px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.02;
  font-weight: 800;
  color: #f7f9ff;
}

.contacts-email-copy a {
  display: inline-flex;
  margin: 12px 0 16px;
  color: #f7f9ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 18px;
}

.contacts-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.contacts-email-admin-btn {
  margin: 0;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(132, 180, 255, 0.16);
  background: linear-gradient(135deg, #2298e6, #695ff7);
  box-shadow: 0 18px 34px rgba(41, 127, 241, 0.28);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
  text-underline-offset: 0;
}

.contacts-email-admin-btn:hover {
  background: linear-gradient(135deg, #30a6f4, #756cff);
  color: #ffffff;
  transform: translateY(-2px);
}

.contacts-email-copy .contacts-email-admin-btn,
.contacts-email-copy .contacts-email-admin-btn:visited,
.contacts-email-copy .contacts-email-admin-btn:focus {
  color: #ffffff;
  text-decoration: none;
}

.contacts-email-copy .contacts-email-admin-btn span {
  margin-top: 0;
  color: #ffffff;
  font-size: 14px;
  font-style: normal;
}

.contacts-email-section .contacts-email-copy::before,
.contacts-email-section .contacts-email-copy::after,
.contacts-email-section .contacts-email-copy > p:first-of-type::before {
  content: none;
  display: none;
}

.contacts-email-kicker {
  display: none;
}

.contacts-email-section .contacts-email-copy::before,
.contacts-email-section .contacts-email-copy::after,
.contacts-email-section .contacts-email-copy > p:first-of-type::before {
  content: none;
  display: none;
}

.contacts-email-kicker {
  width: fit-content;
}

.contacts-email-copy span {
  display: inline-block;
  margin-top: 16px;
  color: var(--contacts-muted);
  font-size: 13px;
  font-style: italic;
}

.contacts-email-card {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  grid-template-areas:
    "copy form";
  gap: 34px;
  align-items: stretch;
  padding: 34px 36px;
  border-radius: 30px;
  border: 1px solid rgba(160, 184, 242, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(82, 125, 255, 0.18), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(118, 74, 176, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(30, 39, 92, 0.92), rgba(18, 27, 67, 0.94));
  box-shadow: 0 22px 60px rgba(6, 11, 32, 0.22);
  position: relative;
  overflow: hidden;
}

.contacts-email-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%);
  opacity: 0.4;
}

.contacts-form-wrap {
  grid-area: form;
  max-width: none;
  min-height: 100%;
  align-self: end;
}

.contacts-form {
  height: 100%;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(170, 186, 229, 0.2);
  background: linear-gradient(180deg, rgba(24, 34, 84, 0.8), rgba(18, 27, 67, 0.94));
  box-shadow: 0 18px 60px rgba(7, 13, 34, 0.24);
}

.contacts-field {
  display: block;
}

.contacts-field + .contacts-field {
  margin-top: 12px;
}

.contacts-field span {
  display: block;
  margin-bottom: 5px;
  color: #dbe4fb;
  font-size: 12px;
  font-weight: 700;
}

.contacts-field input,
.contacts-field textarea {
  width: 100%;
  border: 1px solid rgba(162, 182, 235, 0.22);
  border-radius: 9px;
  background: var(--contacts-input);
  color: #ffffff;
  padding: 11px 13px;
  font: inherit;
  outline: none;
}

.contacts-field textarea {
  min-height: 118px;
  resize: vertical;
}

.contacts-field input:focus,
.contacts-field textarea:focus {
  border-color: rgba(111, 170, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(89, 155, 255, 0.14);
}

.contacts-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 12px;
  color: var(--contacts-muted);
  font-size: 12px;
  line-height: 1.5;
}

.contacts-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contacts-checkbox-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(170, 188, 236, 0.38);
  background: rgba(18, 26, 66, 0.8);
  position: relative;
  margin-top: 1px;
}

.contacts-checkbox input:checked + .contacts-checkbox-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #9fd8ff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contacts-submit-btn {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  padding-inline: 26px;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(41, 127, 241, 0.28);
}

.contacts-form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.contacts-form-status.is-visible {
  display: block;
}

.contacts-form-status.is-success {
  background: rgba(70, 180, 120, 0.14);
  border: 1px solid rgba(95, 215, 146, 0.26);
  color: #cdf7da;
}

.contacts-form-status.is-error {
  background: rgba(255, 92, 120, 0.12);
  border: 1px solid rgba(255, 122, 145, 0.24);
  color: #ffd3db;
}

.contacts-page .footer-root {
  margin-top: 88px;
  width: auto !important;
  min-width: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  transform: none !important;
  position: relative;
}

.contacts-page .footer {
  width: min(var(--contacts-content-max), calc(100vw - 64px)) !important;
  margin: 0 auto !important;
}

.contacts-page .footer-top,
.contacts-page .footer-bottom {
  width: 100%;
}

@media (max-width: 1440px) {
  .contacts-row,
  .contacts-row-channel,
  .contacts-row-email {
    column-gap: 34px;
  }
}

@media (max-width: 1100px) {
  .contacts-main {
    padding: 28px 0 64px;
  }

  .contacts-row,
  .contacts-row-channel,
  .contacts-row-email,
  .contacts-row-youtube {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contacts-row-channel {
    gap: 24px;
  }

  .contacts-channel-card {
    grid-template-columns: 200px minmax(0, 1fr);
    padding: 28px 24px;
  }

  .contacts-email-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form";
    padding: 28px 24px;
  }

  .contacts-row-email {
    grid-template-columns: 1fr;
  }

  .contacts-hero-copy,
  .contacts-social-copy,
  .contacts-channel-copy,
  .contacts-email-copy,
  .contacts-form-wrap {
    max-width: none;
  }

  .contacts-youtube-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page {
    padding-top: 0;
  }

  .content {
    width: min(var(--contacts-content-max), calc(100vw - 32px));
  }

  .contacts-main {
    padding: 18px 0 58px;
  }

  .contacts-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .contacts-home-hero-shell {
    min-height: 520px;
    margin: 0 0 24px;
    padding: 72px 0 72px;
  }

  .contacts-home-hero-shell .content {
    padding: 0 16px;
  }

  .contacts-row-channel {
    gap: 22px;
  }

  .contacts-channel-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 18px;
    border-radius: 24px;
  }

  .contacts-email-card {
    grid-template-areas:
      "copy"
      "form";
    padding: 24px 18px;
    gap: 22px;
    border-radius: 24px;
  }

  .contacts-row-email {
    gap: 22px;
  }

  .contacts-telegram-visual {
    justify-content: flex-start;
    min-height: auto;
  }

  .contacts-telegram-orbit {
    min-height: 220px;
  }

  .contacts-hero-copy h1 {
    max-width: 800px;
  }

  .contacts-hero-copy p,
  .contacts-social-copy p,
  .contacts-channel-copy p,
  .contacts-email-copy p,
  .contacts-youtube-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .contacts-youtube-card {
    padding: 18px 16px 20px;
  }

  .contacts-youtube-preview {
    height: 100px;
  }

  .contacts-youtube-avatar {
    width: 76px;
    height: 76px;
    margin-top: -18px;
  }

  .contacts-youtube-card h3 {
    min-height: auto;
    font-size: 21px;
  }

  .contacts-email-copy h2 {
    font-size: 30px;
  }

  .contacts-primary-btn {
    min-width: 100%;
    padding: 0 20px;
  }

  .contacts-youtube-grid {
    grid-template-columns: 1fr;
  }

  .contacts-form {
    padding: 16px 15px 15px;
  }

  .contacts-page .footer-root {
    margin-top: 56px;
  }

  .contacts-page .footer {
    width: min(var(--contacts-content-max), calc(100vw - 32px)) !important;
  }
}
