/* Посадочные услуг /site и /seo (12.10.2026). Поверх blog.css: те же цвета, шрифт, шапка и темы.
   Монохром сайта; цвет — у иконок (у каждой свой, --c) и в рисунке первого экрана.
   Без капса и номеров шагов — как на всём сайте. Разметку собирает renderLanding (_dev/build-blog.mjs). */

.page--landing { --ld-r: 18px; --ld-glow: #5aa6e8; }
.page--landing[data-service="seo"] { --ld-glow: #3fc4a0; }
/* clip: свечение за первым экраном шире страницы — без него появлялась прокрутка вбок. */
.ld { padding-bottom: 40px; overflow-x: clip; }

/* ---------- кнопки ---------- */
.ld-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  color: var(--ink); background: var(--hi); font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .15s ease;
}
.ld-btn:hover { filter: brightness(1.08); }
.ld-btn:active { transform: translateY(1px); }
.ld-btn[disabled] { opacity: .6; cursor: progress; }
.ld-btn--ghost { color: var(--text); background: transparent; border: 1px solid var(--line-2); font-weight: 500; }
.ld-btn--ghost:hover { background: var(--raise); filter: none; }

/* ---------- иконка в цветной подложке ---------- */
.ld-ic {
  --c: var(--muted);
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
  color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent);
}
.ld-ic svg { width: 24px; height: 24px; }

/* ---------- первый экран ---------- */
.ld-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 56px;
}
.ld-hero::before {
  content: ""; position: absolute; z-index: -1; inset: -60px -10% auto 30%; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ld-glow) 16%, transparent), transparent);
  filter: blur(10px);
}
.ld-kicker { display: inline-flex; margin: 0 0 16px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 14px; }
.ld-hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5.4vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; }
.ld-lead { max-width: 34em; margin: 0 0 28px; color: var(--body); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.ld-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.ld-pills { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.ld-pills li { display: inline-flex; align-items: center; gap: 7px; }
.ld-pills .ld-ic { width: 22px; height: 22px; border-radius: 7px; --c: var(--ld-glow); }
.ld-pills .ld-ic svg { width: 14px; height: 14px; stroke-width: 2.4; }

.ld-hero__art { min-width: 0; }
.ld-art { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.ld-art__win { fill: var(--matte); stroke: var(--line-2); stroke-width: 1.5; }
.ld-art__bar { stroke: var(--line-2); stroke-width: 1.5; }
.ld-art circle { fill: var(--line-2); }
.ld-art__url { fill: var(--raise); }
.ld-b { fill: color-mix(in srgb, var(--ld-glow) 12%, var(--raise)); stroke: color-mix(in srgb, var(--ld-glow) 30%, var(--line-2)); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ld-b 7s ease-in-out infinite; }
.ld-b--2 { animation-delay: .35s; fill: color-mix(in srgb, #a58cf0 14%, var(--raise)); stroke: color-mix(in srgb, #a58cf0 35%, var(--line-2)); }
.ld-b--3 { animation-delay: .55s; fill: color-mix(in srgb, #3fc4a0 14%, var(--raise)); stroke: color-mix(in srgb, #3fc4a0 35%, var(--line-2)); }
.ld-b--4 { animation-delay: .75s; fill: color-mix(in srgb, #f0a24b 14%, var(--raise)); stroke: color-mix(in srgb, #f0a24b 35%, var(--line-2)); }
.ld-b--5 { animation-delay: 1s; }
.ld-b--6 { animation-delay: 1.25s; }
.ld-b--cta { fill: var(--hi); stroke: none; }
.ld-art__cursor { fill: var(--text); stroke: var(--bg); stroke-width: 1.5; stroke-linejoin: round; animation: ld-cursor 7s ease-in-out infinite; }
@keyframes ld-b { 0% { opacity: 0; transform: translateY(10px) scale(.97); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes ld-cursor { 0%, 22% { transform: translate(40px, 30px); opacity: 0; } 30% { opacity: 1; } 42%, 50% { transform: translate(0, 0); } 46% { transform: translate(0, 0) scale(.9); } 82% { opacity: 1; } 92%, 100% { opacity: 0; } }

.ld-art__lens { stroke: var(--muted); stroke-width: 3; fill: none; stroke-linecap: round; }
.ld-res rect { fill: var(--raise); }
.ld-res .ld-res__s { fill: var(--line-2); }
.ld-res--me rect:first-child { fill: color-mix(in srgb, var(--ld-glow) 13%, var(--matte)); stroke: var(--ld-glow); stroke-width: 1.5; }
.ld-res--me .ld-res__t { fill: var(--ld-glow); }
.ld-res--me { animation: ld-climb 7s cubic-bezier(.3, .8, .3, 1) infinite; }
.ld-res--a, .ld-res--b { animation: ld-drop 7s cubic-bezier(.3, .8, .3, 1) infinite; }
.ld-art__axis { stroke: var(--line-2); stroke-width: 1.5; }
.ld-art__line { stroke: var(--ld-glow); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; animation: ld-line 7s ease-in-out infinite; }
.ld-art__dot { fill: var(--ld-glow); animation: ld-dot 7s ease-in-out infinite; }
@keyframes ld-climb { 0%, 18% { transform: translateY(0); } 40%, 88% { transform: translateY(-82px); } 100% { transform: translateY(0); } }
@keyframes ld-drop { 0%, 18% { transform: translateY(0); } 40%, 88% { transform: translateY(46px); } 100% { transform: translateY(0); } }
@keyframes ld-line { 0%, 15% { stroke-dashoffset: 160; } 55%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 160; } }
@keyframes ld-dot { 0%, 50% { opacity: 0; } 58%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- секции ---------- */
.ld-sec { padding-top: 34px; padding-bottom: 34px; }
.ld-sec h2 { margin: 0 0 22px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.ld-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ld-more { color: var(--muted); font-size: 15px; }
.ld-more:hover { color: var(--text); }

.ld-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ld-tile, .ld-item {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--ld-r);
  background: var(--surface); box-shadow: inset 0 1px 0 var(--edge);
  transition: border-color .2s ease, transform .2s ease;
}
.ld-tile:hover, .ld-item:hover { border-color: var(--line-hover); transform: translateY(-2px); }
.ld-tile h3, .ld-item h3, .ld-step h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.ld-tile p, .ld-item p, .ld-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ld-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ld-item { padding: 20px; }
.ld-item .ld-ic { width: 40px; height: 40px; border-radius: 12px; }
.ld-item .ld-ic svg { width: 21px; height: 21px; }
.ld-item h3 { margin-top: 14px; font-size: 16.5px; }
.ld-item p { font-size: 14.5px; }

/* Шаги — лента с иконками, без номеров */
.ld-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ld-step {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--ld-r); background: var(--surface);
}
.ld-step .ld-ic { --c: var(--ld-glow); }
.ld-step h3 { margin-top: 2px; }

/* Портфолио */
.ld-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ld-case {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--ld-r);
  background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.ld-case:hover { border-color: var(--line-hover); transform: translateY(-2px); }
.ld-case picture, .ld-case img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--matte-2); }
.ld-case__body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.ld-case__t { font-size: 17px; font-weight: 600; }
.ld-case__d { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.ld-case__tags { display: flex; gap: 6px; margin-top: 4px; }
.ld-case__tags i { padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 12.5px; font-style: normal; }

/* Частые вопросы */
.ld-faq { display: grid; gap: 10px; max-width: 880px; }
.ld-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ld-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px;
  list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 500;
}
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.ld-faq details[open] summary::after { transform: rotate(45deg); }
.ld-faq p { margin: 0; padding: 0 18px 18px; color: var(--body); font-size: 15.5px; line-height: 1.6; }
.ld-faq p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }

/* Соседняя услуга */
.ld-other {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--ld-r); background: var(--surface);
  color: var(--text); text-decoration: none; transition: border-color .2s ease;
}
.ld-other:hover { border-color: var(--line-hover); }
.ld-other b { display: block; font-size: 19px; font-weight: 600; }
.ld-other > span:nth-child(2) > span { color: var(--muted); font-size: 15px; }
.ld-other > .ld-ic:last-child { background: transparent; --c: var(--muted); }

@media (max-width: 1080px) {
  .ld-tiles, .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-steps, .ld-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ld-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 30px; padding-bottom: 30px; }
  .ld-hero__art { max-width: 460px; }
}
@media (max-width: 600px) {
  .ld-tiles, .ld-grid, .ld-steps, .ld-cases { grid-template-columns: minmax(0, 1fr); }
  .ld-tile, .ld-item, .ld-step { padding: 18px; }
  .ld-sec { padding-top: 24px; padding-bottom: 24px; }
  .ld-acts .ld-btn { flex: 1 1 auto; }
  .ld-other { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; }
  .ld-other > .ld-ic:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-b, .ld-art__cursor, .ld-res--me, .ld-res--a, .ld-res--b, .ld-art__line, .ld-art__dot { animation: none; opacity: 1; }
  .ld-art__line { stroke-dashoffset: 0; }
  .ld-tile, .ld-item, .ld-case { transition: none; }
}
/* Переход к блоку (#raboty, #kak) — заголовок не прячется под шапкой. */
.ld-sec[id] { scroll-margin-top: 76px; }
