/* Welcome — витрина «Начни с приветствия», только welcome-page.html */

.welcome-hello-page .alchemy-shell {
  background-color: #f0ebe3;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.022) 0.8px, transparent 0.9px),
    linear-gradient(180deg, #f5f1ea 0%, #ebe4d9 100%);
  background-size: 5px 5px, auto;
  color: #171717;
}

.welcome-hello-page .alchemy-top {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(245, 241, 234, 0.94);
  backdrop-filter: blur(10px);
}

.welcome-hello-page .alchemy-back {
  color: #0369a1;
}

.welcome-hello-page .alchemy-back:hover {
  color: #0c4a6e;
}

.welcome-hello-page .alchemy-crumb {
  color: #64748b;
}

.welcome-hello-page .alchemy-foot {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #78716c;
}

.welcome-hello-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.15rem 2.75rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.welcome-hello-stage {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.welcome-hello-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #78716c;
}

.welcome-hello-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.welcome-hello-page h1.welcome-hello-stack {
  margin: 0 0 1.5rem;
  font-size: unset;
  font-weight: unset;
}

.welcome-hello-line {
  display: block;
  font-family: system-ui, "Segoe UI", "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(2.35rem, 11vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background-size: 160% 160%;
  background-position: 50% 45%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* «Небо» в буквах — как на обложке-референсе, без внешних картинок */
.welcome-hello-line--dawn {
  background-image:
    linear-gradient(165deg, #fda4af 0%, #fb923c 35%, #f472b6 55%, #a855f7 85%);
}

.welcome-hello-line--teal {
  font-size: clamp(2.8rem, 14vw, 5.5rem);
  background-image:
    linear-gradient(145deg, #5eead4 0%, #14b8a6 40%, #0d9488 70%, #134e4a 100%);
  background-position: 40% 50%;
}

.welcome-hello-line--sky {
  background-image:
    linear-gradient(185deg, #bae6fd 0%, #38bdf8 38%, #0ea5e9 62%, #f0f9ff 88%);
}

.welcome-hello-sub {
  margin: 0 auto 1.75rem;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 400;
  color: #57534e;
}

.welcome-hello-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.welcome-hello-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.welcome-hello-btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
}

.welcome-hello-btn--primary {
  background: #0a0a0a;
  color: #fafafa;
  border-color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.welcome-hello-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.welcome-hello-btn--ghost {
  background: transparent;
  color: #0a0a0a;
  border-color: rgba(10, 10, 10, 0.35);
}

.welcome-hello-btn--ghost:hover {
  background: rgba(10, 10, 10, 0.06);
  border-color: #0a0a0a;
}

.welcome-hello-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-size: 0.8rem;
}

.welcome-hello-links a {
  color: #0369a1;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 105, 161, 0.35);
}

.welcome-hello-links a:hover {
  color: #0c4a6e;
  border-bottom-color: #0c4a6e;
}

.welcome-hello-note {
  margin: 2rem auto 0;
  max-width: 20rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #a8a29e;
}

/* Баннеры с фото и рекламным текстом */
.welcome-banners {
  width: 100%;
  max-width: 44rem;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.welcome-banner {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 18px 44px rgba(0, 0, 0, 0.12);
}

@media (min-width: 640px) {
  .welcome-banner {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    min-height: 15rem;
  }

  .welcome-banner--reverse .welcome-banner__media {
    order: 2;
  }
}

.welcome-banner__media {
  position: relative;
  min-height: 14rem;
  background: #1c1917;
}

@media (min-width: 640px) {
  .welcome-banner__media {
    min-height: 0;
  }
}

.welcome-banner__media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

@media (min-width: 640px) {
  .welcome-banner__media img {
    min-height: 0;
    position: absolute;
    inset: 0;
  }
}

.welcome-banner__body {
  padding: 1.45rem 1.35rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.welcome-banner__label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.welcome-banner__lines {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.welcome-banner__line {
  display: block;
}

/* Тёплый блок под красный кадр */
.welcome-banner--ember .welcome-banner__body {
  background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 45%, #fef3c7 100%);
  color: #1c1917;
}

.welcome-banner--ember .welcome-banner__label {
  color: #b45309;
}

.welcome-banner--ember .welcome-banner__lines {
  color: #292524;
}

/* Тёмный блок под студийный кадр */
.welcome-banner--noir .welcome-banner__body {
  background: linear-gradient(160deg, #0f172a 0%, #020617 55%, #0c0a09 100%);
  color: #f8fafc;
}

.welcome-banner--noir .welcome-banner__label {
  color: #94a3b8;
}

.welcome-banner--noir .welcome-banner__lines {
  color: #f1f5f9;
}
