:root {
  color-scheme: dark;
  --bg-primary: #070911;
  --bg-secondary: rgba(11, 13, 22, 0.9);
  --bg-secondary-strong: rgba(13, 16, 27, 0.95);
  --bg-tile: rgba(255, 255, 255, 0.03);
  --bg-tile-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(142, 151, 214, 0.22);
  --border-soft: rgba(173, 181, 233, 0.12);
  --border-strong: rgba(119, 129, 255, 0.6);
  --text-primary: #fbfbfe;
  --text-secondary: rgba(236, 238, 248, 0.76);
  --text-muted: rgba(202, 206, 226, 0.58);
  --accent: #7468ff;
  --accent-bright: #2a9cff;
  --accent-soft: rgba(116, 104, 255, 0.2);
  --success: #7e72ff;
  --shadow: 0 40px 120px rgba(2, 4, 12, 0.62);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 999px;
  --container-width: 860px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 82%, rgba(87, 61, 214, 0.26), transparent 0 22%),
    radial-gradient(circle at 82% 14%, rgba(36, 109, 255, 0.14), transparent 0 18%),
    linear-gradient(180deg, #090b14 0%, #05070d 45%, #04050a 100%);
  color: var(--text-primary);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.18;
}

body::after {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 56%);
  opacity: 0.5;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 20px;
}

.card {
  position: relative;
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 46px 44px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 16%, rgba(91, 59, 245, 0.1), transparent 0 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--bg-secondary);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  isolation: isolate;
  overflow: hidden;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.card::before {
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(139, 146, 235, 0.34),
    rgba(255, 255, 255, 0.05) 34%,
    rgba(34, 148, 255, 0.18) 100%
  );
  opacity: 0.52;
  z-index: -1;
}

.card::after {
  inset: auto 14% -9%;
  height: 220px;
  background:
    radial-gradient(circle at 18% 58%, rgba(116, 104, 255, 0.16), transparent 18%),
    radial-gradient(circle at 50% 76%, rgba(42, 156, 255, 0.12), transparent 22%),
    radial-gradient(circle at 82% 54%, rgba(116, 104, 255, 0.13), transparent 18%);
  filter: blur(54px);
  opacity: 0.82;
  z-index: -2;
}

.orb {
  position: absolute;
  pointer-events: none;
}

.orb {
  border-radius: 999px;
  filter: blur(10px);
}

.orb-primary {
  top: 42px;
  right: 46px;
  width: 190px;
  height: 190px;
  background:
    radial-gradient(circle at 35% 35%, rgba(131, 94, 255, 0.68), rgba(64, 50, 167, 0.44) 48%, transparent 78%),
    radial-gradient(circle at 78% 78%, rgba(35, 120, 255, 0.7), transparent 38%);
  opacity: 0.9;
  animation: orbMorph 14s ease-in-out infinite alternate;
  transform-origin: center;
}

.orb-secondary {
  right: -120px;
  top: 180px;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(161, 170, 230, 0.12);
  filter: none;
  opacity: 0.55;
}

.hero {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  padding-right: 180px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 1.3rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(11, 14, 24, 0.7);
  backdrop-filter: blur(10px);
}

.availability-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 24px rgba(126, 114, 255, 0.7);
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(4.2rem, 9vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.role {
  margin: 24px 0 0;
  font-size: 1.15rem;
  color: #7a6bff;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.intro {
  max-width: 31rem;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 43rem;
  margin: 28px 0 0;
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(135, 144, 212, 0.16);
  border-radius: 20px;
  background: rgba(9, 12, 20, 0.55);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

.note-icon {
  flex: 0 0 auto;
  color: #7e72ff;
  font-size: 1.5rem;
  line-height: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.88rem 1.35rem;
  border: 1px solid rgba(126, 114, 255, 0.42);
  border-radius: var(--radius-md);
  background: rgba(9, 11, 20, 0.5);
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.contacts {
  display: grid;
  gap: 16px;
}

.contact-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 146px;
  padding: 24px 26px;
  border: 1px solid rgba(146, 154, 204, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 20, 0.78),
    var(--bg-secondary-strong);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.contact-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(116, 104, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.contact-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background-color: rgba(12, 14, 24, 0.92);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.contact-tile:hover::after {
  opacity: 1;
}

.contact-tile:focus-visible {
  outline: 2px solid rgba(116, 104, 255, 0.9);
  outline-offset: 3px;
  border-color: rgba(116, 104, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 46px rgba(0, 0, 0, 0.25);
}

.contact-copy,
.contact-label,
.contact-value,
.contact-hint,
.contact-icon,
.contact-arrow {
  position: relative;
  z-index: 1;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(116, 104, 255, 0.12) 34%, rgba(116, 104, 255, 0.04) 72%);
  color: #875fff;
  font-size: 2.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.contact-svg {
  width: 38px;
  height: 38px;
  display: block;
}

.contact-svg-phone {
  width: 36px;
  height: 36px;
}

.svg-fill {
  fill: currentColor;
}

.svg-fill-soft {
  fill: currentColor;
  opacity: 0.22;
}

.svg-stroke {
  fill: none;
  stroke: currentColor;
}

.contact-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.contact-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.contact-arrow {
  flex: 0 0 auto;
  color: rgba(209, 212, 232, 0.72);
  font-size: 2.2rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 220ms ease, color 220ms ease;
}

.contact-tile:hover .contact-arrow,
.contact-tile:focus-visible .contact-arrow {
  transform: translateX(4px);
  color: rgba(255, 255, 255, 0.92);
}

.contact-phone {
  border-color: rgba(126, 114, 255, 0.42);
}

.contact-phone .contact-icon {
  color: #8e63ff;
  background: radial-gradient(circle at 30% 30%, rgba(142, 99, 255, 0.26), rgba(142, 99, 255, 0.14) 34%, rgba(142, 99, 255, 0.06) 70%);
}

.contact-telegram {
  border-color: rgba(42, 156, 255, 0.42);
}

.contact-telegram .contact-icon {
  color: #22a2ff;
  background: radial-gradient(circle at 30% 30%, rgba(34, 162, 255, 0.22), rgba(34, 162, 255, 0.12) 36%, rgba(34, 162, 255, 0.05) 72%);
}

.contact-whatsapp {
  border-color: rgba(57, 228, 146, 0.42);
}

.contact-whatsapp .contact-icon {
  color: #39e492;
  background: radial-gradient(circle at 30% 30%, rgba(57, 228, 146, 0.2), rgba(57, 228, 146, 0.1) 36%, rgba(57, 228, 146, 0.05) 72%);
}

.contact-email {
  border-color: rgba(159, 95, 255, 0.42);
}

.contact-email .contact-icon {
  color: #9f5fff;
  background: radial-gradient(circle at 30% 30%, rgba(159, 95, 255, 0.22), rgba(159, 95, 255, 0.12) 36%, rgba(159, 95, 255, 0.05) 72%);
}

.footer {
  position: relative;
  margin-top: 20px;
  padding-top: 4px;
  z-index: 1;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

@keyframes orbMorph {
  0% {
    border-radius: 42% 58% 52% 48% / 46% 44% 56% 54%;
    transform: translate3d(0, 0, 0) scale(0.96) rotate(0deg);
    filter: blur(10px) hue-rotate(0deg) saturate(1);
  }

  25% {
    border-radius: 54% 46% 60% 40% / 40% 56% 44% 60%;
    transform: translate3d(-6px, 4px, 0) scale(1.02) rotate(5deg);
    filter: blur(12px) hue-rotate(8deg) saturate(1.08);
  }

  50% {
    border-radius: 58% 42% 47% 53% / 52% 38% 62% 48%;
    transform: translate3d(5px, -3px, 0) scale(1.06) rotate(-4deg);
    filter: blur(13px) hue-rotate(-6deg) saturate(1.12);
  }

  75% {
    border-radius: 45% 55% 43% 57% / 57% 43% 57% 43%;
    transform: translate3d(-4px, -6px, 0) scale(0.99) rotate(3deg);
    filter: blur(11px) hue-rotate(10deg) saturate(1.04);
  }

  100% {
    border-radius: 42% 58% 52% 48% / 46% 44% 56% 54%;
    transform: translate3d(0, 0, 0) scale(0.97) rotate(0deg);
    filter: blur(10px) hue-rotate(0deg) saturate(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-primary {
    animation: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .card {
    padding: 30px 22px 28px;
    border-radius: 32px;
  }

  .hero {
    margin-bottom: 26px;
    padding-right: 0;
  }

  .contact-tile {
    min-height: 136px;
    padding: 22px 20px;
  }

  .contact-icon {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    font-size: 2.2rem;
  }

  .orb-primary {
    top: 48px;
    right: 18px;
    width: 142px;
    height: 142px;
  }

  .orb-secondary {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .card {
    padding: 24px 18px 24px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 3.9rem);
  }

  .hero-meta {
    margin-bottom: 24px;
  }

  .eyebrow {
    padding: 0.8rem 1.05rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .intro {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.68;
  }

  .note {
    padding: 1rem 1rem 1rem 0.95rem;
    gap: 12px;
    font-size: 0.95rem;
  }

  .contact-tile {
    gap: 16px;
    min-height: 0;
    align-items: flex-start;
  }

  .contacts {
    gap: 12px;
  }

  .contact-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 1.75rem;
  }

  .contact-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.8rem;
  }

  .contact-value {
    font-size: 1.18rem;
  }

  .card::after {
    inset: auto 10% -8%;
    height: 180px;
  }
}
