/* «Агрегатор открытых линий» — лендинг в дизайне lavender_breeze. Токены (--brand, --ink…), .wrap/.btn/.eyebrow/.sec-head/.lead/.rv —
   из шаблона сайта (base.css, shell.css); крошки и форма — из news «lb-articles». Здесь только свои блоки с префиксом agr-. */
.agr-hero h3,.agr-card h3{font-size:19px;font-weight:700;line-height:1.3}

/* первый экран */
.agr-hero{padding:40px 0 72px;background:radial-gradient(1200px 520px at 85% -10%,var(--brand-soft),transparent 70%)}
.agr-hero__head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-top:24px}
.agr-hero__title{flex:1.25 1 560px;min-width:0;display:grid;gap:12px}
.agr-hero h1{font-size:clamp(34px,4.4vw,54px)}
.agr-hero h1 span{color:var(--brand)}
.agr-hero__side{flex:1 1 380px;display:flex;flex-direction:column;gap:18px;min-width:0}
.agr-hero__side p{font-size:17px;line-height:1.6;color:var(--ink2)}
.agr-hero__side b{color:var(--ink)}
.agr-hero__btns{display:flex;gap:12px;flex-wrap:wrap}
.agr-hero__btns .btn svg{color:var(--brand)}

/* скрины: ровно 1152px (1x/2x) — браузер не пережимает */
.agr-shot{max-width:1152px;margin:0 auto;border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line);
	box-shadow:0 2px 6px rgba(20,20,40,.06),0 24px 60px rgba(20,20,40,.14)}
.agr-shot img{display:block;width:100%;height:auto}
.agr-shot--hero{margin-top:40px;box-shadow:0 2px 6px rgba(20,20,40,.06),0 40px 90px rgba(112,72,184,.22)}

.agr-badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:28px}
.agr-badges>div{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;font-size:14px;font-weight:600;line-height:1.35}
.agr-badges svg{flex:none;color:var(--brand)}

/* демо */
.agr-demo__frame{max-width:1180px;margin:0 auto}
.agr-demo__frame iframe{display:block;width:100%;border:0;aspect-ratio:1280/915;background:transparent}

/* карточки */
.agr-grid{display:grid;gap:16px}
.agr-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.agr-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.agr-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.agr-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:12px;
	transition:transform .18s,box-shadow .18s,border-color .18s}
.agr-card:hover{transform:translateY(-2px);border-color:#D9D0EE;box-shadow:0 2px 6px rgba(20,20,40,.06),0 18px 40px rgba(20,20,40,.12)}
.agr-card p{font-size:15px;line-height:1.6;color:var(--ink2)}
.agr-card--row{flex-direction:row;align-items:flex-start;gap:16px}
.agr-card--row>div{display:grid;gap:8px}
.agr-ico{flex:none;width:46px;height:46px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center}
.agr-ico--warn{background:var(--accent-soft);color:#B26A00}

/* как работает */
.agr-how__box{background:var(--brand);color:#fff;border-radius:28px;padding:56px;display:flex;flex-wrap:wrap;gap:48px;align-items:center;
	background-image:radial-gradient(rgba(255,255,255,.16) 1.2px,transparent 1.3px);background-size:16px 16px}
.agr-how__text{flex:1 1 380px;display:flex;flex-direction:column;gap:16px;min-width:0}
.agr-how .eyebrow{color:var(--accent)}
.agr-how__text p{font-size:17px;line-height:1.7;color:#EDE6FA}
.agr-how__motto{font-size:19px!important;font-weight:700;line-height:1.45!important;color:#fff!important}
.agr-flow{flex:1.3 1 520px;display:grid;gap:10px;min-width:0;counter-reset:f}
.agr-flow__step{position:relative;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:18px 22px 18px 64px;display:grid;gap:4px}
.agr-flow__step::before{counter-increment:f;content:counter(f);position:absolute;left:18px;top:18px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.16);
	display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px}
.agr-flow__step small{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.agr-flow__step b{font-size:18px}
.agr-flow__step span{font-size:14px;line-height:1.5;color:#E4DAF7}
.agr-flow__step--core{background:#fff;border-color:#fff;color:var(--ink)}
.agr-flow__step--core::before{background:var(--brand);color:#fff}
.agr-flow__step--core small{color:var(--brand)}
.agr-flow__step--core span{color:var(--ink2)}

/* интерфейс: вкладки */
.agr-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.agr-tabs button{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);
	font:600 14px/1 inherit;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.agr-tabs button svg{color:var(--brand)}
.agr-tabs button:hover{border-color:#B9AED0}
.agr-tabs button[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.agr-tabs button[aria-selected="true"] svg{color:#fff}
.agr-pane[hidden]{display:none}
.agr-pane__text{max-width:760px;margin-bottom:24px;display:grid;gap:8px}
.agr-pane__text h3{font-size:22px}
.agr-pane__text p{font-size:16px;line-height:1.65;color:var(--ink2)}
.agr-pane__text b{color:var(--ink)}
.agr-pane{animation:agr-in .35s var(--ease)}
@keyframes agr-in{from{opacity:0;transform:translateY(8px)}}

/* внедрение */
.agr-steps__list{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.agr-steps__list li{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px}
.agr-steps__list b{font-size:14px;font-weight:800;color:var(--brand);background:var(--brand-soft);border-radius:10px;padding:6px 10px;align-self:flex-start}
.agr-steps__list h3{font-size:18px}
.agr-steps__list p{font-size:15px;line-height:1.6;color:var(--ink2)}

/* почему мы */
.agr-why__card{border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 2px rgba(20,20,40,.04),0 8px 24px rgba(20,20,40,.07)}
.agr-why__card>b{font-size:44px;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--accent);min-height:44px;display:flex;align-items:center}
.agr-why__card p{font-size:15px;line-height:1.6;color:var(--ink2)}
.agr-why__card a{color:var(--brand);font-weight:600}

/* FAQ */
.agr-faq__list{display:grid;gap:10px;max-width:900px}
.agr-faq__item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 22px}
.agr-faq__item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;font-size:17px;font-weight:700;line-height:1.35}
.agr-faq__item summary::-webkit-details-marker{display:none}
.agr-faq__item summary svg{flex:none;color:var(--brand);transition:transform .2s var(--ease)}
.agr-faq__item[open] summary svg{transform:rotate(180deg)}
.agr-faq__item p{padding:0 0 20px;font-size:15px;line-height:1.7;color:var(--ink2)}

@media (max-width:1024px){
	.agr-grid--3,.agr-grid--4,.agr-steps__list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.agr-badges{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
	.agr-hero{padding:24px 0 56px}
	.agr-shot--hero{margin-top:28px;border-radius:12px}
	.agr-grid--2,.agr-grid--3,.agr-grid--4,.agr-steps__list{grid-template-columns:1fr}
	.agr-badges{gap:8px}
	.agr-badges>div{padding:12px;font-size:13px}
	.agr-how__box{padding:32px 20px;border-radius:22px;gap:28px}
	.agr-flow__step{padding:16px 16px 16px 58px}
	.agr-demo__frame iframe{aspect-ratio:1280/1090}
	.agr-tabs{overflow-x:auto;flex-wrap:nowrap;margin:0 -16px 20px;padding:0 16px;scrollbar-width:none}
	.agr-tabs button{flex:none}
	.agr-card{padding:22px}
}

/* блок «Интерфейс»: заголовок, вкладки и текст — по центру, одной колонкой со скрином */
.agr-screens .sec-head{justify-content:center;text-align:center}
.agr-screens .sec-head>div:first-child{margin:0 auto;justify-items:center}
.agr-tabs{justify-content:center}
.agr-pane__text{margin:0 auto 24px;text-align:center}
@media (max-width:760px){.agr-tabs{justify-content:flex-start}}

/* 20.11: всё по центру, как в прежней версии лендинга (кроме формы — она общая для сайта) */
.agr-hero__head{flex-direction:column;align-items:center;text-align:center}
.agr-hero__title{flex:none;justify-items:center;max-width:900px}
.agr-hero__side{flex:none;align-items:center;max-width:720px}
.agr-hero__btns{justify-content:center}
.agr-hero .lbb-crumbs{justify-content:center}
main>section .sec-head{justify-content:center;text-align:center}
main>section .sec-head>div:first-child{margin:0 auto;justify-items:center}
main>section .sec-head .lead{margin:0 auto}
.agr-faq__list{margin:0 auto}
.agr-steps__list li,.agr-why__card{align-items:center;text-align:center}
.agr-why__card>b{justify-content:center}
.agr-card{align-items:center;text-align:center}
.agr-card--row{flex-direction:column;align-items:center}
.agr-card--row>div{justify-items:center}

/* ---------- «Запись на приём»: блок стоимости ---------- */
.agr-price__box{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px;box-shadow:0 20px 50px rgba(20,20,31,.06)}
.agr-price__sum small{display:block;color:var(--ink2);font-size:15px;margin-bottom:6px}
.agr-price__sum b{display:block;font-size:44px;line-height:1.1;color:var(--brand);letter-spacing:-.02em}
.agr-price__sum p{margin:12px 0 20px;color:var(--ink2)}
.agr-price__list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.agr-price__list li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.agr-price__list li svg{flex:0 0 20px;color:var(--brand);margin-top:2px}
@media (max-width:860px){.agr-price__box{grid-template-columns:1fr;padding:24px}.agr-price__sum b{font-size:36px}}

/* ---------- «CRM для сервисного центра»: кейс отрасли ---------- */
.sc-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:stretch;background:linear-gradient(135deg,#14141F 0%,#2B2150 100%);color:#fff;border-radius:28px;padding:44px;position:relative;overflow:hidden}
.sc-case::after{content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(112,72,184,.55),transparent 70%);pointer-events:none}
.sc-case .eyebrow{color:#FFA800}
.sc-case h2{color:#fff;margin:10px 0 14px}
.sc-case p{color:rgba(255,255,255,.78);margin:0 0 12px;line-height:1.6}
.sc-case__note{font-size:13px;color:rgba(255,255,255,.55)!important}
.sc-case__list{list-style:none;margin:0;padding:0;display:grid;gap:12px;position:relative;z-index:1}
.sc-case__list li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:14px 16px}
.sc-case__list i{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(255,168,0,.14);color:#FFA800}
.sc-case__list b{display:block;font-size:15px;margin-bottom:3px}
.sc-case__list span{font-size:14px;color:rgba(255,255,255,.72);line-height:1.5}
.sc-stages{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 6px}
.sc-stages span{font-size:12.5px;font-weight:600;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;white-space:nowrap}
.sc-stages span:not(:last-child)::after{content:" →";opacity:.5}
@media (max-width:900px){.sc-case{grid-template-columns:1fr;padding:28px 20px;border-radius:22px}}
