/* Лендинг «Агентам и агентствам» (eci-spb.ru/partneram/). Цвета сняты с согласованного макета 28.10.2026. */
.ld--partneram {
  --ink: #120f52;
  --text: #2c2a6b;
  --muted: #6a6894;
  --accent: #df4292;
  --grad-a: #ef4785;
  --grad-b: #8e48db;
  --primary: #f14a75;
  --primary-2: #4268f5;
  --blue: #4268f5;
  --bg-soft: #f4f3fd;
  --line: #e6e4f6;
  --shadow: 0 14px 40px rgba(40, 30, 120, .08);
}
.a-center { text-align: center; }

.a-nav { margin-inline: auto; }
.a-nav a { font-size: 15px; }

/* ---------- первый экран ---------- */
.a-hero { position: relative; overflow: hidden; padding-bottom: 8px; background: radial-gradient(60% 70% at 85% 30%, #f6f2ff 0%, rgba(246, 242, 255, 0) 70%), linear-gradient(180deg, #fff, #fbfaff); }
.a-hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 32px; padding: 28px 0 32px; }
.a-pill { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #f0edfd; color: #7a4bd6; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.a-hero__title { margin-top: 22px; color: var(--ink); font-weight: 800; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.02em; }
.a-hero__title .ld-grad-text { display: inline-block; }
.a-hero__lead { max-width: 520px; margin-top: 18px; font-size: 19px; line-height: 1.45; color: var(--text); }
.a-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.a-hero__media { position: relative; isolation: isolate; width: min(100%, 560px); margin-inline: auto 0; }
.a-hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
/* орбита с двумя точками вокруг круга, как в макете */
.a-hero__media::before, .a-hero__media::after { content: ''; position: absolute; inset: -5%; z-index: -1; pointer-events: none; }
.a-hero__media::before { border: 1.5px solid rgba(66, 104, 245, .2); border-radius: 50%; }
.a-hero__media::after { background: radial-gradient(ellipse 1.5% 1.5% at 25% 6.7%, #4268f5 90%, transparent 100%), radial-gradient(ellipse 1.5% 1.5% at 91.5% 76%, #4268f5 90%, transparent 100%); }
/* карточка на краю круга — текстом, чтобы читалась и менялась без перерисовки картинки */
.a-float { position: absolute; left: 50%; top: 33%; display: flex; align-items: center; gap: 12px; width: 50%; padding: 16px 16px 16px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.a-float__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff1f4; color: #e6394f; }
.a-float b { display: block; color: var(--ink); font-weight: 800; font-size: 19px; line-height: 1.15; }
.a-float div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

.a-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; padding: 22px 8px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.a-stats li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 18px; }
.a-stats li + li { border-left: 1px solid var(--line); }
.a-stats b { display: block; color: var(--ink); font-weight: 800; font-size: 26px; line-height: 1.1; }
.a-stats div > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }

.a-bub { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: #eef1fe; color: #3d3fb0; }
.a-bub .ld-ico { width: 28px; height: 28px; }
.a-bub--red { background: #fff0f3; color: #e3394f; }
.a-bub--green { background: #ecf8ef; color: #2fa04f; }
.a-bub--sm { width: 48px; height: 48px; }
.a-bub--sm .ld-ico { width: 22px; height: 22px; }

/* ---------- преимущества сервиса ---------- */
.a-benefits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.a-card { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.a-card h3, .a-eco__card h3, .a-why__list h3 { color: var(--ink); font-weight: 800; font-size: 22px; line-height: 1.2; }
.a-card p, .a-eco__card p { margin-top: 6px; color: var(--text); font-size: 16px; line-height: 1.4; }

/* ---------- экосистема ---------- */
.a-eco { background: linear-gradient(180deg, var(--bg-soft), #f8f7fe); }
.a-eco__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.a-eco__card { display: flex; align-items: flex-start; gap: 18px; padding: 26px 24px; border-radius: 20px; }
.a-eco__card--red { background: #fff3f5; }
.a-eco__card--blue { background: #f0f3ff; }
.a-eco__card--green { background: #f0faf2; }
.a-eco__card .a-bub { background: #fff; }
.a-eco__phone { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; width: fit-content; margin: 24px auto 0; padding: 12px 22px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--muted); font-size: 15px; }
.a-eco__phone a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.a-eco__phone .ld-ico { width: 20px; height: 20px; color: #3d3fb0; }
.a-eco__phone b { font-size: 18px; font-weight: 800; }

/* ---------- преимущества работы ---------- */
.a-why__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.a-why__media img { width: 100%; border-radius: 28px; }
.a-why__list { display: grid; gap: 16px; margin: 24px 0 28px; }
.a-why__list > li { display: flex; align-items: flex-start; gap: 16px; }
.a-why__list h3 { padding-top: 12px; font-size: 19px; }
.a-why__list p { margin-top: 4px; color: var(--text); font-size: 15px; }
.a-dots { display: grid; gap: 4px; margin-top: 8px; }
.a-dots li { position: relative; padding-left: 16px; color: var(--text); font-size: 14.5px; line-height: 1.35; }
.a-dots li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* ---------- форматы партнёрства ---------- */
.a-plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.a-plan { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; overflow: hidden; border-radius: 22px; }
.a-plan--blue { background: linear-gradient(135deg, #eef3ff, #f6f8ff); }
.a-plan--red { background: linear-gradient(135deg, #fff1f4, #fff8f9); }
.a-plan__text { align-self: center; padding: 30px 8px 30px 32px; }
.a-plan h3 { font-weight: 800; font-size: 28px; line-height: 1.15; }
.a-plan--blue h3 { color: #2f3fbd; }
.a-plan--red h3 { padding-right: 60px; color: #d8344a; }   /* справа — корона */
.a-checks { display: grid; gap: 10px; margin: 18px 0 24px; }
.a-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.35; }
.a-checks .ld-ico { width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.6; }
.a-plan--blue .a-checks .ld-ico { color: #2f3fbd; }
.a-plan--red .a-checks .ld-ico { color: #d8344a; }
/* фигуры — PNG с прозрачным фоном: стоят на нижнем крае карточки поверх её градиента */
.a-plan__img { align-self: end; width: 100%; height: auto; max-height: 330px; margin-top: 16px; object-fit: contain; object-position: bottom center; }
.a-plan__crown { position: absolute; top: 18px; right: 18px; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #ffe2e8; color: #d8344a; }
.a-plan__crown .ld-ico { width: 26px; height: 26px; }

/* ---------- призыв ---------- */
.a-band { padding: 8px 0 56px; }
.a-band__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding: 30px 36px; border-radius: 24px; background: linear-gradient(90deg, #e84c73 0%, #b84bc6 45%, #4066f4 100%); color: #fff; }
.a-band__text { flex: 1 1 360px; }
.a-band__text h2 { color: #fff; font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.a-band__text p { margin-top: 8px; color: rgba(255, 255, 255, .88); font-size: 16px; }
.a-band .ld-btn--light { color: #3a3fb8; }
.a-band__phone { display: inline-flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; }
.a-band__phone b { display: block; font-size: 22px; font-weight: 800; }
.a-band__phone small { display: block; color: rgba(255, 255, 255, .85); font-size: 13px; }

/* ---------- планшет ---------- */
@media (max-width: 1100px) {
  .a-hero__in, .a-why__in { grid-template-columns: 1fr; }
  .a-hero__media { margin-inline: auto; }
  .a-stats { grid-template-columns: 1fr; padding: 8px 20px; }
  .a-stats li { justify-content: flex-start; padding: 14px 0; }
  .a-stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .a-eco__grid { grid-template-columns: 1fr; }
  .a-plans__grid { grid-template-columns: 1fr; }
}
/* ---------- телефон ---------- */
@media (max-width: 860px) {
  .a-header__lead { display: none; }
  .a-hero__lead { font-size: 17px; }
  .a-benefits__grid { grid-template-columns: 1fr; }
  .a-card { padding: 20px; gap: 16px; }
  .a-card h3, .a-eco__card h3 { font-size: 19px; }
  .a-band__phone { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  /* на телефоне карточка — у правого края круга, только с заголовком: мелкий текст не помещается */
  .a-float { left: auto; right: 0; top: 64%; width: auto; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 14px; }
  .a-hero__media::before, .a-hero__media::after { inset: -3%; }
  .a-float__ico { width: 34px; height: 34px; }
  .a-float__ico .ld-ico { width: 20px; height: 20px; }
  .a-float b { font-size: 16px; }
  .a-float div > span { display: none; }
  .a-plan { grid-template-columns: 1fr; }
  .a-plan__img { max-height: 240px; margin-top: 0; }
  .a-plan__text { padding: 24px 20px 8px; }
  .a-band__in { padding: 26px 20px; }
}
