/* Базовые стили, шапка и hero — перенесены из neuronum-landing/assets/site.css */
@font-face {
  font-family: "Bounded";
  src: url("fonts/bounded-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  src: url("fonts/geologica-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #111111;
  --accent: #2360ec;
  --accent-hover: #1d4ed8;
  --muted: #6d6d69;
  --paper: #f8f8f6;
  --card: #ffffff;
  --line: #dad9d3;
  --soft: #eae9e3;
  --display: "Geologica", sans-serif;
  --body: "Onest", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1320px, calc(100% - 80px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,248,246,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(17,17,17,.08); }
.site-header .header-inner { width: 100%; max-width: none; margin: 0; padding: 0 48px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-family: "Bounded", var(--body);
  font-weight: 500;
  font-size: 22px;
}
.brand img { width: 26px; height: 26px; border-radius: 4px; }
.site-header .brand span { margin-top: 3px; }
.site-footer .brand span { margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.main-nav a, .login { font-weight: 600; color: #343431; transition: opacity .2s ease; }
.main-nav a:hover, .login:hover { opacity: .55; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-weight: 600;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.button-small { min-height: 48px; padding: 0 19px; }
.button-outline { background: transparent; color: var(--ink); font-weight: 600; }
.button-inverse { background: white; border-color: white; color: var(--ink); }
.button-large { min-height: 62px; padding: 0 30px; }
.menu-button { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: white; align-items: center; justify-content: center; color: var(--ink); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 70%, transparent); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; border: 1px solid rgba(17,17,17,.05); border-radius: 50%; left: 50%; top: 41%; transform: translate(-50%,-50%); box-shadow: 0 0 0 90px rgba(17,17,17,.018), 0 0 0 180px rgba(17,17,17,.012); }
.hero-showcase { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; transform: translateY(60px); }
.hero-site-card { position: absolute; display: block; aspect-ratio: 221 / 159; opacity: 1; will-change: transform, opacity, filter; }
.hero-site-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; box-shadow: 0 14px 28px rgba(17,17,17,.17); animation: hero-site-reveal .75s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--hero-card-delay, 0ms); }
.site-cultural-center { left: 1.7%; top: 8%; width: clamp(125px, 8.5vw, 165px); }
.site-dental-clinic { left: 11.4%; top: 1.2%; width: clamp(170px, 11vw, 215px); }
.site-architecture-studio { left: -7.5%; top: 28%; width: clamp(250px, 18vw, 345px); }
.site-seasonal-restaurant { left: 11.7%; top: 27%; width: clamp(130px, 8.9vw, 170px); }
.site-photography-school { left: 11.7%; top: 46%; width: clamp(125px, 8.6vw, 165px); }
.site-country-homes { left: 2.7%; top: 62%; width: clamp(120px, 8vw, 165px); }
.site-digital-conference { right: 1.7%; top: 8%; width: clamp(125px, 8.5vw, 165px); }
.site-volunteer-travel { right: 11.4%; top: 1.2%; width: clamp(170px, 11vw, 215px); }
.site-coworking { right: -7.5%; top: 28%; width: clamp(250px, 18vw, 345px); }
.site-botanical-cosmetics { right: 11.7%; top: 27%; width: clamp(130px, 8.9vw, 170px); }
.site-fashion-atelier { right: 11.7%; top: 46%; width: clamp(125px, 8.6vw, 165px); }
.site-veterinary-clinic { right: 2.7%; top: 62%; width: clamp(120px, 8vw, 165px); }
@keyframes hero-site-reveal { from { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.hero-inner {
  position: relative;
  padding: 65px 0 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .hero-inner { z-index: 2; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
.hero .eyebrow { padding: 8px 14px; border: 1px solid #d3dce8; border-radius: 999px; background: #ffffff; color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 14px; box-shadow: 0 5px 16px rgba(17,17,17,.04); }
.hero .eyebrow svg { flex: none; }
/* AI-акцент, вариант №2: иконка #905fc0 → #3f80bf; текст #905fc0 → #6c6fc5 → #3f80bf. */
.hero .eyebrow span { background: linear-gradient(100deg, #9e55cf 0%, #7569d4 48%, #3689cf 100%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero h1 {
  margin: 27px 0 18px;
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 600;
  max-width: 980px;
}
.hero-subtitle {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.2;
  font-weight: 450;
  max-width: 850px;
}
.niche-line {
  margin-top: 5px;
  min-height: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(29px, 3.15vw, 47px);
  letter-spacing: -.03em;
  font-weight: 650;
  line-height: 1.3;
}
.rotating-niche { display: inline-flex; align-items: center; min-width: 13ch; min-height: 1.35em; justify-content: center; background: linear-gradient(90deg, #2f5bff 0%, #7452ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; }
.rotating-niche i { display: inline-block; width: 2px; height: .82em; margin-left: 4px; background: linear-gradient(180deg, #2f5bff, #7452ff); animation: cursor .72s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.niche-count { margin: 17px 0 0; font-size: 17px; color: var(--muted); }
.niche-count b { color: var(--ink); }
.niche-search { margin-top: 40px; width: min(820px, 100%); min-height: 78px; padding: 10px 11px 10px 24px; display: flex; align-items: center; gap: 15px; background: white; border: 1px solid #d4d3ce; border-radius: 16px; box-shadow: 0 18px 60px rgba(17,17,17,.09); }
.niche-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.niche-search input::placeholder { color: #989892; }
.niche-search button { min-height: 56px; border: 0; border-radius: 10px; background: var(--accent); color: white; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 750; cursor: pointer; }
.niche-prompt { position: relative; margin-top: 40px; width: min(820px, 100%); min-height: 142px; padding: 20px 18px 14px 22px; display: flex; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid #d4d3ce; border-radius: 24px; box-shadow: 0 18px 60px rgba(17,17,17,.09); transition: border-color .2s ease, box-shadow .2s ease; }
.niche-prompt:focus-within { border-color: #aaa9a4; box-shadow: 0 20px 64px rgba(17,17,17,.12); }
.niche-prompt textarea { position: relative; z-index: 2; display: block; width: 100%; min-height: 58px; padding: 0 4px; border: 0; outline: 0; resize: none; overflow: auto; background: transparent; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.5; }
.niche-prompt textarea::placeholder { color: #989892; opacity: 1; }
.niche-prompt.has-rotating-placeholder textarea::placeholder { color: transparent; }
.niche-prompt-placeholder { position: absolute; z-index: 1; top: 20px; left: 26px; right: 26px; color: #989892; font-size: 17px; line-height: 1.5; text-align: left; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.niche-prompt.is-placeholder-visible .niche-prompt-placeholder { opacity: 1; }
.niche-prompt textarea:focus + .niche-prompt-placeholder,
.niche-prompt.is-focused .niche-prompt-placeholder { opacity: 0; transition: none; }
.niche-prompt-placeholder-cursor { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -.14em; border-radius: 2px; background: currentColor; animation: prompt-cursor-blink .72s steps(1) infinite; }
@keyframes prompt-cursor-blink { 50% { opacity: 0; } }
.niche-prompt-actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.niche-prompt button { width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; cursor: default; }
.niche-prompt-primary-actions { display: flex; align-items: center; gap: 4px; }
.niche-prompt-attach { border: 1px solid #d4d3ce; background: #fff; color: var(--ink); }
.niche-prompt .niche-prompt-mic { border: 0; background: transparent; color: #6d6d69; border-radius: 0; }
.niche-prompt-mic:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.niche-prompt-submit { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.hero-social-proof { margin-top: 26px; display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-align: left; }
.hero-social-proof-avatars { display: flex; align-items: center; padding-left: 2px; }
.hero-social-proof-avatars img { width: 48px; height: 48px; object-fit: cover; border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 5px 14px rgba(17,17,17,.13); }
.hero-social-proof-avatars img + img { margin-left: -16px; }
.hero-social-proof-copy { display: grid; gap: 2px; }
.hero-social-proof-copy strong { font-family: var(--display); font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -.025em; }
.hero-social-proof-copy span { color: var(--muted); font-size: 14px; font-weight: 560; line-height: 1.25; }
.hero-steps { width: min(1040px, 100%); margin-top: 48px; display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: center; }
.hero-steps article { position: relative; display: flex; align-items: center; text-align: left; gap: 15px; min-width: 0; }
.step-number { position: absolute; z-index: 2; left: 40px; top: -9px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--ink); color: white; border: 3px solid var(--paper); border-radius: 50%; font-size: 10px; font-weight: 800; }
.step-icon { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(17,17,17,.08); }
.step-icon-success { background: var(--ink); color: white; border-color: var(--ink); }
.hero-steps b { display: block; font-size: 15px; line-height: 1.3; }
.hero-steps p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.step-line { height: 1px; border-top: 1px dashed #aaa9a4; margin: 0 12px; }


@media (min-width: 1600px) and (max-width: 1700px) {
  .site-cultural-center, .site-digital-conference { top: 69px; }
  .site-dental-clinic, .site-volunteer-travel { top: 30px; }
  .site-architecture-studio, .site-coworking { top: 210px; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: 190px; }
  .site-photography-school, .site-fashion-atelier { top: 330px; }
  .site-country-homes, .site-veterinary-clinic { top: 460px; }
}

@media (min-width: 1701px) {
  .site-cultural-center, .site-digital-conference { top: calc(8% - 18px); }
  .site-dental-clinic, .site-volunteer-travel { top: calc(1.2% - 18px); }
  .site-architecture-studio, .site-coworking { top: calc(28% - 6px); }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: calc(27% - 6px); }
  .site-photography-school, .site-fashion-atelier { top: calc(46% + 8px); }
  .site-country-homes, .site-veterinary-clinic { top: calc(62% + 52px); }
}

@media (min-width: 821px) and (max-width: 1599px) {
  .site-cultural-center, .site-digital-conference { top: 69px; }
  .site-dental-clinic, .site-volunteer-travel { top: 30px; }
  .site-architecture-studio, .site-coworking { top: 210px; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { top: 190px; }
  .site-photography-school, .site-fashion-atelier { top: 330px; }
  .site-country-homes, .site-veterinary-clinic { top: 460px; }
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .site-cultural-center { left: -3.3%; }
  .site-dental-clinic { left: 6.4%; }
  .site-architecture-studio { left: -12.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 6.7%; }
  .site-digital-conference { right: -3.3%; }
  .site-volunteer-travel { right: 6.4%; }
  .site-coworking { right: -12.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 6.7%; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .site-cultural-center, .site-digital-conference { width: 10vw; }
  .site-dental-clinic, .site-volunteer-travel { width: 10.8vw; }
  .site-architecture-studio, .site-coworking { width: 17.5vw; }
  .site-seasonal-restaurant, .site-botanical-cosmetics, .site-photography-school, .site-fashion-atelier { width: 8.5vw; }
  .site-country-homes, .site-veterinary-clinic { width: 10vw; }
  .site-country-homes, .site-veterinary-clinic { top: 440px; }
  .site-cultural-center { left: -5.3%; }
  .site-dental-clinic { left: 5.5%; }
  .site-architecture-studio { left: -13.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 5.8%; }
  .site-country-homes { left: min(-3.5%, calc((100% - 1040px) / 2 - 10vw - 40px)); }
  .site-digital-conference { right: -5.3%; }
  .site-volunteer-travel { right: 5.5%; }
  .site-coworking { right: -13.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 5.8%; }
  .site-veterinary-clinic { right: min(-3.5%, calc((100% - 1040px) / 2 - 10vw - 40px)); }
}

@media (min-width: 821px) and (max-width: 1199px) {
  .site-cultural-center, .site-digital-conference { width: 10vw; }
  .site-dental-clinic, .site-volunteer-travel { width: 13.5vw; }
  .site-architecture-studio, .site-coworking { width: 20vw; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 10vw; }
  .site-photography-school, .site-fashion-atelier { width: 9.8vw; }
  .site-country-homes, .site-veterinary-clinic { width: 11vw; }
  .site-country-homes, .site-veterinary-clinic { top: 440px; }
  .site-cultural-center { left: -8.3%; }
  .site-dental-clinic { left: 2%; }
  .site-architecture-studio { left: -17.5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 3%; }
  .site-country-homes { left: -3.25%; }
  .site-digital-conference { right: -8.3%; }
  .site-volunteer-travel { right: 2%; }
  .site-coworking { right: -17.5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 3%; }
  .site-veterinary-clinic { right: -3.25%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-country-homes { left: calc((100% - 1040px) / 2 - 11vw - 40px); }
  .site-veterinary-clinic { right: calc((100% - 1040px) / 2 - 11vw - 40px); }
}

@media (max-width: 991px) {
  .hero-showcase { opacity: .12; filter: saturate(.55) contrast(.92); }
}


@media (max-width: 820px) {
  .site-header .header-inner { padding-inline: 18px; }
  .site-cultural-center, .site-digital-conference { width: 60px; top: 8%; }
  .site-dental-clinic, .site-volunteer-travel { width: 78px; top: 3%; }
  .site-architecture-studio, .site-coworking { width: 120px; top: 18%; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 64px; top: 16%; }
  .site-photography-school, .site-fashion-atelier { width: 60px; top: 28%; }
  .site-country-homes, .site-veterinary-clinic { width: 72px; top: 37%; }
  .site-cultural-center { left: 3%; }
  .site-dental-clinic { left: 18%; }
  .site-architecture-studio { left: -5%; }
  .site-seasonal-restaurant, .site-photography-school { left: 18%; }
  .site-country-homes { left: 4%; }
  .site-digital-conference { right: 3%; }
  .site-volunteer-travel { right: 18%; }
  .site-coworking { right: -5%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 18%; }
  .site-veterinary-clinic { right: 4%; }
}
@media (max-width: 560px) {
  .site-header .header-inner { padding-inline: 14px; }
  .hero-showcase { opacity: .11; }
  .site-cultural-center, .site-digital-conference { width: 32px; top: 9%; }
  .site-dental-clinic, .site-volunteer-travel { width: 40px; top: 4.5%; }
  .site-architecture-studio, .site-coworking { width: 64px; top: 18%; }
  .site-seasonal-restaurant, .site-botanical-cosmetics { width: 34px; top: 15%; }
  .site-photography-school, .site-fashion-atelier { width: 32px; top: 23%; }
  .site-country-homes, .site-veterinary-clinic { width: 44px; top: 31.5%; }
  .site-cultural-center { left: 6%; }
  .site-dental-clinic { left: 21%; }
  .site-architecture-studio { left: -3%; }
  .site-seasonal-restaurant, .site-photography-school { left: 16%; }
  .site-country-homes { left: 7%; }
  .site-digital-conference { right: 6%; }
  .site-volunteer-travel { right: 21%; }
  .site-coworking { right: -3%; }
  .site-botanical-cosmetics, .site-fashion-atelier { right: 16%; }
  .site-veterinary-clinic { right: 7%; }
  .hero::before { transform: none; }
}
