/* Страница /uslugi/yandex-direkt/krasnodar/ — визуальное оформление.
   Токены совпадают с сайтом. Не затрагивает форму заявки (#sdLeadForm). */

.seo-content.direkt-page {
  --ink: #071426;
  --deep: #071b35;
  --blue: #126cf3;
  --lime: #c6ff47;
  --mist: #f3f7fb;
  --line: #dbe3eb;
  --muted: #415367;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  overflow-x: clip;
  color: var(--ink);
}

/* ---- Hero ---- */
.seo-content .direkt-hero {
  padding: 112px 0 56px;
  background: #071b35;
  color: #fff;
}
.direkt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
.direkt-hero-copy { min-width: 0; }
.seo-content .direkt-hero h1 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 20px 0 18px;
  max-width: none;
}
.seo-content .direkt-hero .seo-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 36em;
  color: #d5e0ea;
}
.seo-content .direkt-hero .seo-lead + .seo-lead { margin-top: 12px; }
.seo-content .direkt-hero .seo-actions { margin-top: 28px; }
.seo-content .direkt-hero .seo-actions a {
  min-height: 48px;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.seo-content .direkt-hero .seo-actions a:active { transform: scale(.97); }

.direkt-hero-visual {
  margin: 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2244;
  border: 1px solid #ffffff1f;
  box-shadow: 0 24px 64px #00000059;
}
.direkt-hero-visual img,
.direkt-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #e8eef5;
}
.direkt-hero-visual figcaption,
.direkt-figure figcaption {
  margin: 0;
  padding: 11px 16px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #c4d2e2;
  background: #0a2244;
}
.direkt-figure {
  margin: 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.direkt-figure figcaption {
  color: #415367;
  background: #f3f7fb;
  border-top: 1px solid var(--line);
}

/* ---- Shared section rhythm ---- */
.seo-content .direkt-block { padding: 64px 0; }
.seo-content .direkt-block h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.seo-content .direkt-block p,
.seo-content .direkt-block li {
  font-size: 17px;
  line-height: 1.65;
  max-width: 900px;
  color: var(--ink);
}
.seo-content .direkt-block p + p { margin-top: 16px; }
.seo-content .direkt-muted,
.seo-content .direkt-block .direkt-muted { color: var(--muted); }

.direkt-band { background: #fff; }
.direkt-band-mist { background: var(--mist); }
.direkt-band-deep {
  background: #071b35;
  color: #fff;
}
.direkt-band-deep h2 { color: #fff; }
.direkt-band-deep p,
.direkt-band-deep li { color: #d5e0ea; }

/* ---- Prices ---- */
.direkt-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 8px 0 0;
}
.direkt-price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 26px 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.direkt-price h3 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.direkt-price .direkt-amount {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0b4ab0;
  font-weight: 700;
}
.direkt-price p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
}
.direkt-price-note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 850px;
}

/* ---- What we do ---- */
.direkt-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.direkt-work-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  max-width: none;
}
.direkt-work-list li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  max-width: none;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.direkt-work-list li:last-child { border-bottom: 1px solid var(--line); }
.direkt-work-list strong {
  display: block;
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--ink);
}

/* ---- Steps ---- */
.direkt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.direkt-steps li {
  margin: 0;
  padding: 16px 0 0;
  border-top: 2px solid var(--ink);
  max-width: none;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.direkt-steps strong {
  display: block;
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 650;
}
.direkt-steps-note {
  margin: 28px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* ---- Two-col text (results / audience) ---- */
.direkt-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 56px;
  align-items: start;
}
.direkt-split h2 { margin-bottom: 16px; }
.direkt-quote {
  margin: 0 0 18px;
  padding: 0 0 0 20px;
  border-left: 3px solid #c6ff47;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 28em;
  font-weight: 600;
}
.direkt-band-deep .direkt-quote { border-left-color: #c6ff47; }

/* ---- Short SEO + FAQ ---- */
.direkt-faq {
  display: grid;
  gap: 0;
}
.direkt-faq article {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.direkt-faq article:last-child { border-bottom: 1px solid var(--line); }
.seo-content .direkt-faq h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.seo-content .direkt-faq p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

/* Keep mid-page CTA and related as in seo-services */
.seo-content.direkt-page .seo-end { background: #e7eef4; }
.seo-content.direkt-page a:focus-visible,
.seo-content.direkt-page button:focus-visible {
  outline: 3px solid #3280c7;
  outline-offset: 4px;
}

/* Form section already styled by site CSS — only a light top separation */
.seo-content.direkt-page .contact-section {
  background: #fff;
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (hover: hover) and (pointer: fine) {
  .seo-content .direkt-hero .seo-actions a:hover { filter: none; }
}


/* Higher specificity so navy-band text stays light */
.seo-content.direkt-page .direkt-band-deep h2,
.seo-content .direkt-band-deep h2 { color: #fff; }
.seo-content.direkt-page .direkt-band-deep p,
.seo-content.direkt-page .direkt-band-deep li,
.seo-content .direkt-band-deep p,
.seo-content .direkt-band-deep li { color: #d5e0ea; }
.seo-content.direkt-page .direkt-band-deep .direkt-quote,
.seo-content .direkt-band-deep .direkt-quote {
  color: #fff;
  border-left-color: #c6ff47;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

@media (max-width: 860px) {
  .seo-content .direkt-hero { padding: 108px 0 42px; }
  .direkt-hero-grid,
  .direkt-work,
  .direkt-prices,
  .direkt-steps,
  .direkt-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .direkt-steps { gap: 22px; }
  .direkt-hero-visual { order: 1; }
}

@media (max-width: 640px) {
  .seo-content .direkt-hero { padding: 104px 0 36px; }
  .seo-content .direkt-block { padding: 42px 0; }
  .seo-content.direkt-page .contact-section { padding-top: 42px; padding-bottom: 42px; }
  .direkt-price { padding: 22px; }
  .direkt-quote { font-size: 20px; }
  .seo-content .direkt-hero .seo-actions { flex-direction: column; align-items: stretch; }
  .seo-content .direkt-hero .seo-actions a { text-align: center; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-content .direkt-hero .seo-actions a { transition: none; }
  .seo-content .direkt-hero .seo-actions a:active { transform: none; }
}

/* Impeccable: body measure and hanging words */
.seo-content.direkt-page .direkt-block > .container > p,
.seo-content.direkt-page .direkt-faq p,
.seo-content.direkt-page .direkt-price p,
.seo-content.direkt-page .direkt-steps-note,
.seo-content.direkt-page .direkt-price-note {
  text-wrap: pretty;
}
.seo-content.direkt-page .direkt-block > .container > p {
  max-width: 70ch;
}


/* Photos added 2026-11-13 — same tokens, no layout motion */
.direkt-photo {
  margin: 28px 0 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2244;
}
.direkt-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  background: #e8eef5;
}
.direkt-photo-wide img { aspect-ratio: 16 / 9; object-position: center; }
.direkt-photo-call img { aspect-ratio: 4 / 3; object-position: center; }
.direkt-photo figcaption {
  margin: 0;
  padding: 11px 16px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #415367;
  background: #f3f7fb;
  border-top: 1px solid var(--line);
}
.direkt-band-mist .direkt-photo {
  background: #fff;
  border: 1px solid var(--line);
}
.direkt-band-deep .direkt-photo {
  margin: 0 0 28px;
  background: #0a2244;
  border: 1px solid #ffffff1f;
}
.direkt-band-deep .direkt-photo figcaption {
  color: #c4d2e2;
  background: #0a2244;
  border-top: 1px solid #ffffff1f;
}
.direkt-figure img { object-position: center; }

@media (max-width: 860px) {
  .direkt-photo { margin-top: 8px; }
  .direkt-band-deep .direkt-photo { margin: 0 0 8px; }
}
