/* =============================================================
   services-pro.css — общий стиль раздела /services/ (редизайн)
   Скоуп: .rd-services (тело страницы). Шапка/подвал — глобальные из темы.
   База = пилот rezka-gilotinoy + компоненты хаба/перфорации/gazovaya.
   ============================================================= */
/* ===== РЕДИЗАЙН services-pro · скоуп .rd-services (тело страницы услуги). Шапка/подвал — глобальные из темы, не дублируем. ===== */
.rd-services{--blue:#1B43B5;--blue2:#2C5BE0;--blueDk:#14328A;--ink:#11151a;--steel:#56606c;--soft:#EEF2FD;--softbd:#D6E0F7;--line:#e9edf2;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;color:var(--ink)}
.rd-services *{margin:0;padding:0;box-sizing:border-box}
.rd-services .wrap{max-width:1240px;margin:0 auto;padding:0 40px}
.rd-services .grad{background:linear-gradient(135deg,var(--blue2),var(--blue) 55%,var(--blueDk))}
.rd-services .eyebrow{font:700 13px 'Inter';letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:10px}
.rd-services section{padding:40px 0}
.rd-services a{color:inherit;text-decoration:none}

/* hero услуги */
.rd-services .phead{background:linear-gradient(180deg,#fbfcfe,#fff);border-bottom:1px solid var(--line)}
.rd-services .phead .wrap{padding:24px 40px 26px}
.rd-services .crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--steel);margin-bottom:14px;flex-wrap:wrap}
.rd-services .crumbs a{color:var(--steel)}.rd-services .crumbs a:hover{color:var(--blue)}
.rd-services .crumbs .sep{color:#c3ccda}
.rd-services .crumbs b{color:var(--ink);font-weight:600}
.rd-services .shero{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.rd-services .shero h1{font:800 34px 'Manrope','Inter';letter-spacing:-.02em;color:var(--ink);margin-bottom:14px;line-height:1.12}
.rd-services .shero .lead{font-size:15.5px;line-height:1.7;color:#2b333d;margin-bottom:12px}
.rd-services .shero .lead b{color:var(--ink)}
.rd-services .shero .org{font-size:13.5px;color:var(--steel);margin-top:6px}
.rd-services .shero .cta-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}
.rd-services .shero .topcta{display:inline-flex;align-items:center;gap:9px;padding:14px 24px;border-radius:12px;color:#fff;font-weight:700;font-size:15px;white-space:nowrap;box-shadow:0 8px 22px rgba(27,67,181,.26);border:none;cursor:pointer;text-decoration:none}
.rd-services .shero .topcta svg{width:18px;height:18px}
.rd-services .shero .resp{font-size:13.5px;color:var(--steel)}
.rd-services .shero .resp b{color:var(--ink)}
.rd-services .shero .media{position:relative;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:#0f1422;box-shadow:0 24px 60px rgba(20,40,80,.16)}
.rd-services .shero .media img{width:100%;height:100%;object-fit:cover}
.rd-services .shero .media .badge{position:absolute;left:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:rgba(13,18,32,.6);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);color:#fff;font:700 13px 'Manrope','Inter'}
.rd-services .shero .media .badge svg{width:16px;height:16px;color:#7FB0FF}

/* shine на CTA */
.rd-services .topcta,.rd-services .send{position:relative;overflow:hidden;isolation:isolate;transition:transform .2s,box-shadow .2s,filter .2s}
.rd-services .topcta::after,.rd-services .send::after{content:"";position:absolute;top:0;left:-130%;width:60%;height:100%;z-index:1;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-18deg);transition:left .6s cubic-bezier(.16,1,.3,1);pointer-events:none}
.rd-services .topcta:hover::after,.rd-services .send:hover::after{left:130%}
.rd-services .topcta > svg{position:relative;z-index:2}
.rd-services .topcta:hover,.rd-services .send:hover{transform:translateY(-2px);filter:brightness(1.06)}

/* reveal-анимация */
.rd-services .stagger > *{opacity:0;transform:translateY(20px);transition:opacity .55s cubic-bezier(.16,1,.3,1),transform .55s cubic-bezier(.16,1,.3,1)}
.rd-services .stagger.in > *{opacity:1;transform:none}
.rd-services .stagger.in > *:nth-child(2){transition-delay:.05s}.rd-services .stagger.in > *:nth-child(3){transition-delay:.10s}
.rd-services .stagger.in > *:nth-child(4){transition-delay:.15s}
@media(prefers-reduced-motion:reduce){.rd-services .stagger > *{opacity:1!important;transform:none!important;transition:none!important}}

/* SEO-секции */
.rd-services .seo{border-top:1px solid var(--line);background:linear-gradient(180deg,#fbfcfe,#fff)}
.rd-services .seo h2{font:800 25px 'Manrope','Inter';letter-spacing:-.02em;color:var(--ink);margin-bottom:8px}
.rd-services .seo h2 + .lead{font-size:15px;color:var(--steel);max-width:780px;line-height:1.6;margin-bottom:24px}
.rd-services .seo .intro-txt{font-size:15.5px;line-height:1.75;color:#2b333d;max-width:940px}
.rd-services .seo .intro-txt b{color:var(--ink)}
.rd-services .seo .intro-txt a,.rd-services .solutions li a{color:var(--blue);font-weight:600;text-decoration:underline}

/* преимущества */
.rd-services .adv{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rd-services .adv .it{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;transition:transform .25s,box-shadow .25s,border-color .25s}
.rd-services .adv .it:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(20,40,80,.10);border-color:var(--softbd)}
.rd-services .adv .it .ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:#fff}
.rd-services .adv .it .ic svg{width:22px;height:22px}
.rd-services .adv .it b{display:block;font:800 16px 'Manrope','Inter';color:var(--ink);margin-bottom:7px}
.rd-services .adv .it p{font-size:13.5px;line-height:1.6;color:#56606c}

/* таблица */
.rd-services .ctable{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.rd-services .ctable caption{text-align:left;font-size:13px;color:var(--steel);padding:0 0 10px;caption-side:top}
.rd-services .ctable thead th{background:var(--soft);color:var(--blue);font:800 12.5px 'Manrope','Inter';text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:13px 15px;border-bottom:1px solid var(--softbd)}
.rd-services .ctable th[scope=row]{font-weight:800;color:var(--ink);background:#fbfcff;white-space:nowrap}
.rd-services .ctable td{padding:13px 15px;border-bottom:1px solid var(--line);color:#2b333d;vertical-align:top;line-height:1.5;text-align:left}
.rd-services .ctable tbody tr:last-child td,.rd-services .ctable tbody tr:last-child th{border-bottom:none}
.rd-services .ctable tbody tr:hover{background:#f7f9fe}
.rd-services .ctscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* готовые решения */
.rd-services .solutions{border:1px solid var(--line);border-radius:18px;background:#fff;padding:26px 28px}
.rd-services .solutions .sh{font:800 19px 'Manrope','Inter';color:var(--ink);margin-bottom:6px}
.rd-services .solutions .sp{font-size:14.5px;line-height:1.6;color:#56606c;margin-bottom:18px}
.rd-services .solutions ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rd-services .solutions li{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:1.55;color:#2b333d}
.rd-services .solutions li svg{width:20px;height:20px;color:var(--blue);flex:none;margin-top:1px}
.rd-services .solutions .fin{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--ink);font-weight:600}

/* FAQ */
.rd-services .faq{display:grid;gap:12px}
.rd-services .faq details{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.rd-services .faq summary{cursor:pointer;list-style:none;padding:16px 20px;font:700 15.5px 'Manrope','Inter';color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:14px}
.rd-services .faq summary::-webkit-details-marker{display:none}
.rd-services .faq summary::after{content:"+";font-size:24px;line-height:1;color:var(--blue);font-weight:400;flex:none;transition:transform .25s}
.rd-services .faq details[open] summary::after{transform:rotate(45deg)}
.rd-services .faq details[open] summary{border-bottom:1px solid var(--line)}
.rd-services .faq .ans{padding:14px 20px 18px;font-size:14.5px;line-height:1.7;color:#2b333d}
.rd-services .faq .ans a{color:var(--blue);font-weight:600;text-decoration:underline}

/* нижний баннер */
.rd-services .fcta{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(150deg,#1e3a7c,#2C5BE0 70%,#14328A);border-radius:18px;padding:26px 30px;color:#fff}
.rd-services .fcta .t{font:800 19px 'Manrope','Inter';letter-spacing:-.01em;max-width:640px;line-height:1.4}
.rd-services .fcta .t span{color:#cfdcff;font-weight:600;font-size:15px;display:block;margin-top:5px}
.rd-services .fcta .ph{font:800 26px 'Manrope','Inter';color:#fff;white-space:nowrap;text-decoration:none}

/* лид-форма */
.rd-services .leadcta{background:linear-gradient(150deg,#13182a,#1B43B5 130%);color:#fff;border-radius:22px;padding:34px;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.rd-services .leadcta h2{color:#fff;font:800 26px 'Manrope','Inter';letter-spacing:-.02em;margin-bottom:10px}
.rd-services .leadcta p{color:#c7d3ee;font-size:15px;line-height:1.6;max-width:460px}
.rd-services .leadcta .ll{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.rd-services .leadcta .lrow{display:flex;align-items:center;gap:11px;font-size:14.5px;color:#dbe4f7}
.rd-services .leadcta .lrow svg{width:18px;height:18px;color:#7FB0FF;flex:none}
.rd-services .lform{background:#fff;border-radius:18px;padding:24px;color:var(--ink)}
.rd-services .lform .lt{font:800 17px 'Manrope','Inter';margin-bottom:4px}
.rd-services .lform .ls{font-size:13px;color:var(--steel);margin-bottom:16px}
.rd-services .lform input{width:100%;border:1px solid #dde3ec;border-radius:11px;padding:13px 15px;font-size:14.5px;font-family:inherit;color:var(--ink);margin-bottom:11px;min-height:46px}
.rd-services .lform .send{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:11px;color:#fff;font-weight:700;font-size:15px;border:none;cursor:pointer;box-shadow:0 10px 24px rgba(27,67,181,.30)}
.rd-services .lform .alt{display:block;text-align:center;font-size:13px;color:var(--steel);margin-top:12px}
.rd-services .lform .alt a{color:var(--blue);font-weight:700}
.rd-services .lform .alt .addr{user-select:all;-webkit-user-select:all}
.rd-services .lform .pr{font-size:11.5px;color:#9aa3ad;text-align:center;margin-top:9px;line-height:1.4}
.rd-services .lform .lmsg{display:none;text-align:center;font-size:14px;font-weight:600;margin-top:6px}
.rd-services .lform.sent .lmsg.ok{display:block;color:#1a8a3c}
.rd-services .lform.err .lmsg.fail{display:block;color:#c02626}

@media(max-width:980px){
  .rd-services .shero{grid-template-columns:1fr;gap:24px}.rd-services .shero .media{order:-1}
  .rd-services .adv{grid-template-columns:1fr}
}
@media(max-width:760px){
  .rd-services .wrap{padding:0 18px}
  .rd-services .phead .wrap{padding:18px 18px 22px}.rd-services .shero h1{font-size:26px}
  .rd-services .solutions ul{grid-template-columns:1fr}
  .rd-services .seo h2{font-size:21px}
  .rd-services .leadcta{grid-template-columns:1fr;padding:24px}
  .rd-services .fcta{padding:22px}
}

/* ===== ДОБАВКИ: компоненты не из пилота ===== */
/* tnote — врезка-примечание (gazovaya и др.) */
.rd-services .tnote{margin-top:16px;border-left:3px solid var(--blue);background:#f6f9ff;border-radius:0 12px 12px 0;padding:15px 18px;font-size:14.5px;line-height:1.7;color:#2b333d}
.rd-services .tnote b{color:var(--ink)}
.rd-services .tnote a{color:var(--blue);font-weight:600;text-decoration:underline}

/* matgrid — сетка материалов (perforatsiya) */
.rd-services .matgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rd-services .matgrid .mit{border:1px solid var(--line);border-radius:16px;padding:20px 22px;background:#fff}
.rd-services .matgrid .mit b{display:block;font:800 16px 'Manrope','Inter';color:var(--ink);margin-bottom:8px}
.rd-services .matgrid .mit p{font-size:13.5px;line-height:1.6;color:#56606c}

/* pnote — предупреждение (амбер) */
.rd-services .pnote{margin-top:18px;border:1px solid #f3d9a8;background:#fff7ea;border-radius:16px;padding:18px 22px;border-left:5px solid #e8930c;display:flex;gap:14px;align-items:flex-start}
.rd-services .pnote svg{width:24px;height:24px;color:#c2730a;flex:none;margin-top:2px}
.rd-services .pnote b{font:800 15px 'Manrope','Inter';color:var(--ink);display:block;margin-bottom:4px}
.rd-services .pnote p{font-size:14px;line-height:1.6;color:#5a4a2e}

/* ===== ХАБ: заголовок-ряд, сетка услуг, карточки, "как работаем" ===== */
.rd-services .phead-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.rd-services .ph-sub{font-size:15px;color:var(--steel);max-width:660px;line-height:1.55}
.rd-services .svcgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.rd-services .scard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;position:relative;transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s,border-color .28s}
.rd-services .scard:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(20,40,80,.12);border-color:var(--softbd)}
.rd-services .scard .ph{position:relative;aspect-ratio:4/3;overflow:hidden;background:#0f1422}
.rd-services .scard .ph img{width:100%;height:100%;object-fit:cover;transition:transform .45s;filter:saturate(.92) contrast(1.03)}
.rd-services .scard:hover .ph img{transform:scale(1.07)}
.rd-services .scard .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,14,28,.05),rgba(8,14,28,.58))}
.rd-services .scard .num{position:absolute;top:12px;left:12px;z-index:2;width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;font:800 15px 'Manrope','Inter';color:#fff;background:rgba(13,18,32,.55);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.18)}
.rd-services .scard .body{padding:17px 19px 19px;display:flex;flex-direction:column;flex:1}
.rd-services .scard h3{font:800 17px 'Manrope','Inter';letter-spacing:-.01em;margin-bottom:8px;line-height:1.22}
.rd-services .scard h3 a{color:var(--ink);display:inline}
.rd-services .scard h3 a:hover{color:var(--blue)}
.rd-services .scard .desc{font-size:13.5px;line-height:1.6;color:#42505f;margin-bottom:16px;flex:1}
.rd-services .scard .go{margin-top:auto;display:inline-flex;align-items:center;gap:7px;font:700 13.5px 'Manrope','Inter';color:var(--blue);align-self:flex-start}
.rd-services .scard .go svg{width:16px;height:16px;transition:transform .25s}
.rd-services .scard:hover .go svg{transform:translateX(4px)}
.rd-services .scard .stretch{position:absolute;inset:0;z-index:1;border-radius:18px}
.rd-services .howw{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.rd-services .howw .st{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff;position:relative}
.rd-services .howw .st .n{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font:800 16px 'Manrope','Inter';color:#fff;margin-bottom:12px}
.rd-services .howw .st b{display:block;font:800 15px 'Manrope','Inter';color:var(--ink);margin-bottom:6px}
.rd-services .howw .st p{font-size:13px;line-height:1.55;color:#56606c}

@media(max-width:980px){
  .rd-services .svcgrid{grid-template-columns:1fr 1fr}
  .rd-services .howw{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .rd-services .matgrid{grid-template-columns:1fr}
  .rd-services .svcgrid{grid-template-columns:1fr}
  .rd-services .howw{grid-template-columns:1fr}
  .rd-services .phead-row{gap:14px}
}
