.v5-service-body { background: #fff; }
.v5-service-hero { padding: 66px 0 74px; overflow: hidden; background: linear-gradient(120deg,#f7f9fc 0%,#e9f0f7 100%); }
.v5-service-hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(430px,.98fr); gap: 70px; align-items: center; }
.v5-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; color: #748197; font-size: 13px; }
.v5-breadcrumbs a:hover { color: var(--blue); }
.v5-service-hero-copy h1 { margin: 0; color: var(--navy); font: 400 clamp(52px,5vw,76px)/.98 var(--serif); letter-spacing: -.045em; }
.v5-service-practice { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--red); font-weight: 750; }
.v5-service-practice::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.v5-service-lead { max-width: 720px; margin: 15px 0 0; color: #526176; font-size: 19px; line-height: 1.65; }
.v5-service-price-entry { width: fit-content; min-width: 330px; display: grid; grid-template-columns: auto auto; align-items: end; gap: 1px 18px; margin-top: 28px; padding: 17px 21px; border-left: 3px solid var(--red); background: rgba(255,255,255,.72); box-shadow: 0 12px 34px rgba(18,52,88,.08); }
.v5-service-price-entry small { grid-column: 1/-1; color: #6d7a8d; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.v5-service-price-entry strong { color: var(--navy); font: 400 29px/1.05 var(--serif); }
.v5-service-price-entry span { padding-bottom: 2px; color: #5d6a7d; font-size: 12px; }
.v5-service-trust { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 34px; color: #4d5c70; font-size: 13px; }
.v5-service-trust span { display: inline-flex; align-items: center; gap: 8px; }
.v5-service-trust svg { color: var(--blue); }
.v5-service-portrait { position: relative; min-height: 610px; overflow: hidden; border-radius: 0 0 70px 0; background: #dfe8f2; box-shadow: 0 30px 70px rgba(16,45,80,.14); }
.v5-service-portrait > img { width: 100%; height: 610px; object-fit: cover; object-position: 70% center; transform: scale(1.22); }
.v5-service-portrait > div { position: absolute; right: 25px; bottom: 24px; left: 25px; padding: 23px 26px; color: #fff; background: rgba(5,24,51,.9); backdrop-filter: blur(12px); }
.v5-service-portrait strong, .v5-service-portrait span, .v5-service-portrait small { display: block; }
.v5-service-portrait strong { font: 400 25px/1.1 var(--serif); }
.v5-service-portrait span { margin-top: 7px; color: #9bc7f3; font-weight: 700; }
.v5-service-portrait small { margin-top: 8px; color: #c5d1df; }

.v5-service-now { padding: 76px 0; background: #f4efe7; }
.v5-service-now-grid { display: grid; grid-template-columns: repeat(var(--urgent-count),minmax(0,1fr)); }
.v5-service-now header { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,520px); column-gap: 70px; row-gap: 18px; align-items: end; padding: 0 0 36px; }
.v5-service-now header .v5-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.v5-service-now h2 { margin: 0; color: var(--navy); font: 400 clamp(36px,3.2vw,50px)/1.03 var(--serif); }
.v5-service-now article { display: grid; grid-template-columns: 42px 1fr; gap: 17px; min-height: 165px; padding: 25px 24px; border: 1px solid #d9cec0; border-right: 0; background: rgba(255,255,255,.42); }
.v5-service-now article:last-child { border-right: 1px solid #d9cec0; }
.v5-service-now article > span { color: #aa8d6d; font: 400 19px/1 var(--serif); }
.v5-service-now h3 { margin: 0 0 10px; color: var(--navy); font-size: 17px; }
.v5-service-now p { margin: 0; color: #6c665f; font-size: 14px; }

.v5-service-situations { padding: 120px 0 130px; background: #fff; }
.v5-service-situation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.v5-service-situation-grid article { min-height: 430px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); background: linear-gradient(160deg,#fff 0%,#f8fafc 100%); box-shadow: 0 16px 38px rgba(14,51,91,.06); }
.v5-service-situation-grid article > div { display: flex; justify-content: space-between; align-items: center; color: #91a1b4; }
.v5-service-situation-grid article > div span { font: 400 22px/1 var(--serif); }
.v5-service-situation-grid article > div svg { width: 42px; height: 42px; padding: 10px; border: 1px solid #cdd9e6; border-radius: 50%; color: var(--blue); }
.v5-service-situation-grid h3 { margin: 72px 0 17px; color: var(--navy); font: 400 clamp(28px,2.4vw,39px)/1.06 var(--serif); }
.v5-service-situation-grid p { margin: 0; color: var(--muted); }
.v5-service-situation-grid button, .v5-service-situation-grid article > a { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--red); font-weight: 750; cursor: pointer; }
.v5-service-situation-grid article > a:hover { color: var(--navy); }

.v5-service-strategy { padding: 120px 0; color: #fff; background: radial-gradient(circle at 83% 20%,rgba(57,117,184,.34),transparent 35%),var(--navy-deep); }
.v5-service-strategy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.v5-service-strategy-grid > *, .v5-service-hero-grid > *, .v5-service-principal-grid > *, .v5-service-proof-grid > *, .v5-service-faq-grid > * { min-width: 0; }
.v5-service-strategy h2 { margin: 0; font: 400 clamp(43px,4.2vw,66px)/1 var(--serif); }
.v5-service-strategy-copy > p:not(.v5-kicker) { max-width: 600px; margin: 25px 0 34px; color: #b6c6da; font-size: 18px; }
.v5-service-strategy ol { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); list-style: none; }
.v5-service-strategy li { display: grid; grid-template-columns: 62px 1fr; gap: 25px; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.v5-service-strategy li > span { color: #78b2ef; font: 400 21px/1 var(--serif); }
.v5-service-strategy h3 { margin: 0 0 8px; font: 400 25px/1.1 var(--serif); }
.v5-service-strategy li p { margin: 0; color: #b6c6da; }

.v5-service-principal { padding: 120px 0; background: #eef3f7; }
.v5-service-principal-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; box-shadow: 0 28px 70px rgba(16,52,91,.12); }
.v5-service-principal-image { overflow: hidden; }
.v5-service-principal-image img { width: 100%; height: 100%; object-fit: cover; }
.v5-service-principal-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px; background: #fff; }
.v5-service-principal-copy h2 { margin: 0; color: var(--navy); font: 400 clamp(42px,4vw,61px)/1 var(--serif); }
.v5-service-principal-copy .v5-service-expert-note { margin: 30px 0; color: #4f6075; font-size: 18px; line-height: 1.7; }
.v5-service-principal-copy > strong { color: var(--navy); font: 400 25px/1.15 var(--serif); }
.v5-service-principal-copy > span { margin: 7px 0 30px; color: var(--muted); }
.v5-service-principal-copy .v5-button { align-self: flex-start; }

.v5-service-process { padding: 120px 0; background: #fff; }
.v5-service-process ol { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.v5-service-process li { min-height: 270px; padding: 30px; border-right: 1px solid var(--line); }
.v5-service-process li:last-child { border-right: 0; }
.v5-service-process li > span { color: var(--blue); font: 400 21px/1 var(--serif); }
.v5-service-process h3 { margin: 64px 0 12px; color: var(--navy); font: 400 24px/1.08 var(--serif); }
.v5-service-process li p { margin: 0; color: var(--muted); font-size: 14px; }

.v5-service-proof { padding: 100px 0; background: #f2f6f8; }
.v5-service-proof-grid { display: grid; grid-template-columns: 1fr 360px; gap: 100px; align-items: center; }
.v5-service-proof h2 { max-width: 800px; margin: 0; color: var(--navy); font: 400 clamp(42px,4vw,62px)/1 var(--serif); }
.v5-service-proof p { max-width: 740px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.v5-service-proof-grid > a { display: grid; grid-template-columns: auto 1fr; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.v5-service-proof-grid > a > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #ef3439; color: #fff; font-size: 25px; font-weight: 800; }
.v5-service-proof-grid > a small { align-self: center; margin-left: 12px; color: #43536a; font-weight: 750; }
.v5-service-proof-grid > a strong { grid-column: 1/-1; margin-top: 27px; color: #305d57; font: 400 72px/1 var(--serif); }
.v5-service-proof-grid > a div { color: #f3a000; letter-spacing: .12em; }
.v5-service-proof-grid > a b { grid-column: 1/-1; display: flex; justify-content: space-between; margin-top: 24px; color: var(--navy); }

.v5-service-cost { padding: 112px 0; background: #f4f7fa; }
.v5-service-cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 44px 0 32px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 22px 55px rgba(18,52,88,.07); }
.v5-service-cost-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); }
.v5-service-cost-grid article:last-child { border-right: 0; }
.v5-service-cost-grid span { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.v5-service-cost-grid h3 { margin: 50px 0 0; color: var(--navy); font: 400 26px/1.08 var(--serif); }
.v5-service-cost-grid article > strong { display: block; margin-top: 18px; color: var(--red); font: 400 30px/1 var(--serif); }
.v5-service-cost-grid p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.v5-service-cost > .v5-container > .v5-button { min-width: 300px; }

.v5-service-faq { padding: 120px 0; background: #fff; }
.v5-service-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.v5-service-faq header h2 { margin: 0; color: var(--navy); font: 400 clamp(44px,4vw,62px)/1 var(--serif); }
.v5-service-faq header > p:last-child { max-width: 430px; color: var(--muted); }
.v5-service-faq details { border-bottom: 1px solid var(--line); }
.v5-service-faq summary { display: flex; justify-content: space-between; gap: 30px; padding: 25px 0; color: var(--navy); font: 400 25px/1.2 var(--serif); cursor: pointer; list-style: none; }
.v5-service-faq summary b { min-width: 0; font: inherit; overflow-wrap: anywhere; }
.v5-service-faq summary::-webkit-details-marker { display: none; }
.v5-service-faq summary span { width: 24px; height: 24px; flex: 0 0 24px; display: block; color: var(--blue); font-family: var(--sans); line-height: 24px; text-align: center; }
.v5-service-faq details[open] summary span { transform: rotate(45deg); }
.v5-service-faq details p { margin: -7px 0 26px; color: var(--muted); line-height: 1.7; }

.v5-service-related { padding: 100px 0 115px; background: #f3f6f9; }
.v5-service-related header h2 { margin: 0; color: var(--navy); font: 400 clamp(42px,4vw,58px)/1 var(--serif); }
.v5-service-related .v5-container > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 42px; }
.v5-service-related .v5-container > div a { min-height: 150px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 28px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 400 25px/1.1 var(--serif); }
.v5-service-related .v5-container > div a:hover { border-color: var(--blue); }
.v5-service-parent { display: inline-flex; align-items: center; gap: 15px; margin-top: 30px; color: var(--red); font-weight: 750; }
.v5-service-contact { margin: 0; }

/* На невысоких ноутбуках ценовой порог и основная CTA должны оставаться
   в первом экране. Правило не затрагивает большие дисплеи и мобильную сетку. */
@media (min-width: 901px) and (max-height: 780px) {
    .v5-service-hero { padding-block: 28px 30px; }
    .v5-service-hero-grid { grid-template-columns: minmax(0,1.12fr) minmax(400px,.88fr); gap: 50px; align-items: center; }
    .v5-breadcrumbs { margin-bottom: 14px; }
    .v5-service-hero-copy h1 { font-size: 46px; line-height: .98; }
    .v5-service-practice { margin-top: 12px; }
    .v5-service-lead { margin-top: 10px; font-size: 17px; line-height: 1.5; }
    .v5-service-price-entry { margin-top: 13px; padding-block: 11px; }
    .v5-service-hero-copy .v5-actions { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 10px; margin-top: 14px; }
    .v5-service-hero-copy .v5-actions .v5-button { width: 100%; min-height: 52px; gap: 10px; padding-inline: 14px; font-size: 13px; text-align: center; }
    .v5-service-trust { margin-top: 15px; gap: 12px 18px; font-size: 12px; }
    .v5-service-portrait,
    .v5-service-portrait > img { min-height: 500px; height: 500px; }
}

@media (max-width: 1180px) {
    .v5-service-hero-grid { grid-template-columns: 1fr 420px; gap: 44px; }
    .v5-service-portrait, .v5-service-portrait > img { min-height: 560px; height: 560px; }
    .v5-service-now-grid { grid-template-columns: 1fr 1fr; row-gap: 45px; }
    .v5-service-now header { grid-column: 1/-1; }
    .v5-service-now article { border-right: 1px solid #d9cec0; }
    .v5-service-strategy-grid { gap: 60px; }
    .v5-service-principal-copy { padding: 50px; }
    .v5-service-process ol { grid-template-columns: repeat(3,1fr); }
    .v5-service-cost-grid { grid-template-columns: 1fr 1fr; }
    .v5-service-cost-grid article:nth-child(2) { border-right: 0; }
    .v5-service-cost-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .v5-service-process li:nth-child(3) { border-right: 0; }
    .v5-service-process li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
    .v5-service-hero { padding-top: 50px; }
    .v5-service-hero-grid { grid-template-columns: 1fr; }
    .v5-service-portrait { min-height: 500px; }
    .v5-service-portrait > img { height: 500px; min-height: 500px; object-position: 70% center; }
    .v5-service-situation-grid { grid-template-columns: 1fr; }
    .v5-service-situation-grid article { min-height: 350px; }
    .v5-service-situation-grid h3 { margin-top: 50px; }
    .v5-service-strategy-grid, .v5-service-principal-grid, .v5-service-proof-grid, .v5-service-faq-grid { grid-template-columns: 1fr; }
    .v5-service-principal-image { height: 520px; }
    .v5-service-proof-grid { gap: 45px; }
    .v5-service-proof-grid > a { max-width: 440px; }
    .v5-service-faq-grid { gap: 42px; }
    .v5-service-related .v5-container > div { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .v5-service-body h1, .v5-service-body h2, .v5-service-body h3, .v5-service-body summary { overflow-wrap: anywhere; }
    .v5-service-hero { padding-block: 30px 44px; }
    .v5-breadcrumbs { margin-bottom: 22px; }
    .v5-service-hero-copy h1 { font-size: clamp(35px,9.8vw,43px); line-height: 1.02; letter-spacing: -.035em; }
    .v5-service-lead { font-size: 16px; line-height: 1.55; }
    .v5-service-price-entry { width: 100%; min-width: 0; grid-template-columns: 1fr; align-items: start; gap: 5px; }
    .v5-service-price-entry span { padding: 0; }
    .v5-service-hero-copy .v5-actions { display: grid; }
    .v5-service-hero-copy .v5-button { width: 100%; padding-inline: 18px; }
    .v5-service-trust { display: grid; gap: 12px; }
    .v5-service-portrait { height: 320px; min-height: 320px; border-radius: 0 0 30px 0; }
    .v5-service-portrait > img { height: 320px; min-height: 320px; object-position: 70% 34%; transform: scale(1.12); }
    .v5-service-portrait > div { right: 12px; bottom: 12px; left: 12px; padding: 15px 16px; }
    .v5-service-portrait strong { font-size: 20px; }
    .v5-service-portrait span { margin-top: 4px; font-size: 13px; }
    .v5-service-portrait small { margin-top: 5px; font-size: 11px; }
    .v5-service-now { padding-block: 60px; }
    .v5-service-now-grid { grid-template-columns: 1fr; }
    .v5-service-now header { grid-column: auto; display: block; padding-bottom: 24px; }
    .v5-service-now header .v5-kicker { margin-bottom: 16px; }
    .v5-service-now article { min-height: 0; padding: 22px; border: 1px solid #d9cec0; }
    .v5-service-situations, .v5-service-strategy, .v5-service-principal, .v5-service-process, .v5-service-proof, .v5-service-cost, .v5-service-faq, .v5-service-related { padding-block: 72px; }
    .v5-service-situation-grid article { min-height: 285px; padding: 24px; }
    .v5-service-situation-grid h3 { margin-top: 36px; font-size: 32px; }
    .v5-service-strategy-grid { gap: 55px; }
    .v5-service-strategy h2 { font-size: 37px; }
    .v5-service-strategy li { grid-template-columns: 42px 1fr; }
    .v5-service-principal-grid { min-height: 0; }
    .v5-service-principal-image { height: 330px; }
    .v5-service-principal-copy { padding: 42px 26px; }
    .v5-service-principal-copy h2 { font-size: 36px; }
    .v5-service-process ol { grid-template-columns: 1fr; }
    .v5-service-process li { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
    .v5-service-process li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
    .v5-service-process li:last-child { border-bottom: 0; }
    .v5-service-process h3 { margin-top: 42px; }
    .v5-service-proof-grid { gap: 35px; }
    .v5-service-cost-grid { grid-template-columns: 1fr; margin-top: 32px; }
    .v5-service-cost-grid article, .v5-service-cost-grid article:nth-child(2) { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
    .v5-service-cost-grid article:last-child { border-bottom: 0; }
    .v5-service-cost-grid h3 { margin-top: 34px; }
    .v5-service-cost > .v5-container > .v5-button { width: 100%; min-width: 0; }
    .v5-service-proof h2, .v5-service-faq header h2 { font-size: 36px; }
    .v5-service-proof-grid > a strong { font-size: 61px; }
    .v5-service-faq summary { gap: 14px; font-size: 22px; }
    .v5-service-faq summary span { width: 24px; flex: 0 0 24px; }
    .v5-service-related .v5-container > div a { min-height: 130px; font-size: 23px; }
    .v5-service-parent { min-height: 44px; padding-block: 10px; }
}
