/* Строй Групп · SEO-страницы направлений · 15.08.2026 */
.service-hero { padding: 54px 0 18px; }
.service-hero__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr); gap: clamp(28px,4vw,58px); align-items: center; }
.service-hero__copy { padding: 34px 0; }
.service-hero__title { margin: 16px 0 18px; max-width: 780px; font-size: clamp(44px,5vw,76px); line-height: .98; letter-spacing: -.045em; }
.service-hero__title span { display: block; color: var(--color-brick); }
.service-hero__lead { max-width: 720px; margin: 0 0 24px; color: var(--color-text-muted); font-size: 18px; line-height: 1.62; }
.service-hero__visual { position: relative; min-height: 610px; overflow: hidden; border-radius: var(--radius-large); box-shadow: var(--shadow-large); }
.service-hero__visual > img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg,rgba(18,20,22,.04),rgba(18,20,22,.23)); pointer-events: none; }
.service-hero__note { position: absolute; z-index: 2; top: 20px; right: 20px; width: min(330px,calc(100% - 40px)); padding: 18px; border-radius: 20px; color: #fff; }
.service-hero__note strong { display:block; margin-bottom:6px; font-size:17px; }
.service-hero__note span { color:#eee7df; font-size:14px; line-height:1.45; }
.service-hero__route { position:absolute; z-index:2; left:20px; right:20px; bottom:20px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:14px; border-radius:20px; color:#fff; }
.service-hero__route-item { min-width:0; text-align:center; }
.service-hero__route-item strong { display:block; font-size:24px; line-height:1; }
.service-hero__route-item span { display:block; margin-top:6px; color:#eee7df; font-size:12px; line-height:1.3; }
.service-hero__chips { margin-top:22px; }

.service-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-feature { padding:26px; }
.service-feature__number { display:grid; place-items:center; width:48px; height:48px; margin-bottom:18px; border-radius:14px; background:#fff0e9; color:var(--color-brick); font-weight:950; }
.service-feature h3 { margin:0 0 10px; font-size:23px; line-height:1.16; }
.service-feature p { margin:0; color:var(--color-text-muted); line-height:1.58; }

.service-split { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:18px; align-items:stretch; }
.service-copy-card { padding:30px; }
.service-copy-card h2, .service-copy-card h3 { margin-top:0; }
.service-copy-card p { color:var(--color-text-muted); font-size:17px; line-height:1.65; }
.service-list { display:grid; gap:11px; margin:22px 0 0; padding:0; list-style:none; }
.service-list li { position:relative; padding:12px 14px 12px 44px; border:1px solid var(--color-line); border-radius:14px; background:#fdfbf8; line-height:1.45; }
.service-list li::before { content:"✓"; position:absolute; left:14px; top:10px; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#fff0e9; color:var(--color-brick); font-weight:950; }
.service-photo-card { min-height:500px; overflow:hidden; border-radius:var(--radius-medium); box-shadow:var(--shadow-card); }
.service-photo-card img { width:100%; height:100%; object-fit:cover; }

.service-projects .project-card__body { display:flex; flex-direction:column; }
.service-projects .project-card__body .text-link { margin-top:auto; padding-top:12px; }

.service-budget { display:grid; grid-template-columns:1fr .95fr; gap:18px; align-items:stretch; }
.service-budget__copy { padding:30px; }
.service-budget__copy h2 { margin:0 0 12px; font-size:clamp(32px,4vw,52px); line-height:1.04; }
.service-budget__copy p { color:var(--color-text-muted); font-size:17px; line-height:1.62; }
.service-budget__accent { margin:20px 0; padding:18px; border:1px solid rgba(191,86,56,.18); border-radius:18px; background:linear-gradient(135deg,#fff2ea,#fff); }
.service-budget__accent strong { display:block; margin-bottom:6px; font-size:20px; }
.service-budget__photo { min-height:430px; overflow:hidden; border-radius:var(--radius-medium); box-shadow:var(--shadow-card); }
.service-budget__photo img { width:100%; height:100%; object-fit:cover; }

.service-faq { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.service-faq__item { padding:24px; }
.service-faq__item h3 { margin:0 0 9px; font-size:21px; line-height:1.22; }
.service-faq__item p { margin:0; color:var(--color-text-muted); line-height:1.58; }

.service-cta { padding:34px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(255,242,234,.9)); }
.service-cta h2 { margin:0 0 10px; font-size:clamp(31px,4vw,48px); line-height:1.05; }
.service-cta p { margin:0; max-width:780px; color:var(--color-text-muted); font-size:17px; line-height:1.55; }
.service-cta .button-row { justify-content:flex-end; }

.service-breadcrumbs { padding-top:20px; color:var(--color-text-muted); font-size:13px; }
.service-breadcrumbs a { color:inherit; }
.service-breadcrumbs span { margin:0 7px; color:#aaa099; }

@media (min-width:1021px) and (max-width:1180px) {
  .service-hero__title { font-size:clamp(38px, 4.5vw, 54px); }
}
@media (max-width:1020px) {
  .service-hero__grid, .service-split, .service-budget { grid-template-columns:1fr; }
  .service-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-hero__visual { min-height:520px; }
  .service-photo-card { min-height:430px; }
  .service-cta { grid-template-columns:1fr; }
  .service-cta .button-row { justify-content:flex-start; }
}
@media (max-width:700px) {
  .service-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .service-hero__copy { min-width: 0; }
  .service-hero__copy .eyebrow { max-width: 100%; white-space: normal; }
  body[data-page="service"] .section__head h2 { font-size: clamp(26px, 7vw, 40px); overflow-wrap: break-word; }
  .service-hero { padding-top:30px; }
  .service-hero__copy { padding:18px 0; }
  .service-hero__title { font-size:clamp(28px, 7.8vw, 43px); overflow-wrap:break-word; }
  .service-hero__lead { font-size:16px; }
  .service-hero__visual { min-height:430px; border-radius:24px; }
  .service-hero__note { top:12px; right:12px; width:min(250px,calc(100% - 24px)); padding:12px 13px; border-radius:15px; }
  .service-hero__note strong { font-size:13px; }
  .service-hero__note span { font-size:10.5px; }
  .service-hero__route { left:10px; right:10px; bottom:10px; gap:4px; padding:10px 7px; border-radius:15px; }
  .service-hero__route-item strong { font-size:17px; }
  .service-hero__route-item span { margin-top:3px; font-size:8px; }
  .service-feature-grid, .service-faq { grid-template-columns:1fr; }
  .service-feature { padding:18px; }
  .service-feature__number { float:left; width:40px; height:40px; margin:0 12px 6px 0; }
  .service-feature h3 { font-size:18px; padding-top:2px; }
  .service-feature p { clear:both; font-size:13px; }
  .service-copy-card, .service-budget__copy, .service-faq__item, .service-cta { padding:20px; }
  .service-photo-card, .service-budget__photo { min-height:320px; }
  .service-cta .button-row { display:grid; grid-template-columns:1fr; }
  .service-cta .button { width:100%; text-align:center; }
}

/* v3.7 — 8-step route and CTA polishing */
.service-feature-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.service-hero .button-row, .service-cta .button-row { flex-wrap: wrap; }
@media (max-width:1180px) {
  .service-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .service-feature-grid { grid-template-columns: 1fr; }
}

/* v3.7.1 — call icon polish */
.service-hero .button-row .platform-button,
.service-cta .button-row .platform-button { align-self: stretch; }
.service-hero .button-row .platform-button--icon,
.service-cta .button-row .platform-button--icon { width: 48px; min-width: 48px; min-height: 48px; }
@media (max-width:700px) {
  .service-cta .platform-button--icon { width: 100%; min-width: 0; }
}

/* v3.8 — batch service pages */
.service-projects .project-grid { align-items: stretch; }
.service-projects .project-card { height: 100%; }
.service-projects .project-card__image { width: 100%; min-height: 250px; }
.service-projects .project-card__image img { width:100%; height:100%; object-fit:cover; }
@media (min-width: 840px) {
  .service-projects .project-grid:has(> .project-card:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
