/* B2B-позиционирование и объекты из списка заказчика. */
.hero-stages.hero-business { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.4; letter-spacing: 0; white-space: normal; }
.hero-business .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.hero-business > span { display: flex; flex-direction: column; gap: 3px; }
.hero-business strong { font-weight: 500; }
.business-geography { font-size: 11px; line-height: 1.45; color: var(--eyebrow); }
.services-heading-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 25px; }
.services-copy .services-heading-line .eyebrow { margin-bottom: 0; }
.service-support-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: -12px; margin-bottom: -12px; padding: 0; font-size: 14px; color: var(--blue); background: transparent; }
.service-support-link .arrow { width: 18px; height: 18px; }

.portfolio { padding: clamp(32px, 5.8vh, 70px) var(--gutter); }
.portfolio .projects-heading .eyebrow { margin-bottom: 18px; }
.projects-intro { font-size: 17px; line-height: 1.5; letter-spacing: -.025em; color: var(--muted); margin-top: 15px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-bottom: 1px solid var(--line); }
.project-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; width: 100%; min-width: 0; min-height: 180px; padding: 25px 30px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; text-align: left; transition: background .25s, color .25s; }
.project-card:nth-child(3n + 1) { padding-left: 0; }
.project-card:nth-child(3n) { border-right: 0; padding-right: 0; }
.project-meta { color: var(--eyebrow); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; padding-right: 22px; }
.project-meta > span { padding: 0 5px; }
.project-name { font-size: clamp(20px, 1.75vw, 28px); line-height: 1.2; font-weight: 500; letter-spacing: -.04em; padding-right: 17px; }
.project-summary { font-size: 14px; line-height: 1.5; color: var(--muted); letter-spacing: -.02em; }
.project-arrow { position: absolute; width: 18px; height: 18px; top: 24px; right: 20px; color: var(--blue); transition: transform .3s var(--ease-out); }
.project-card:nth-child(3n) .project-arrow { right: 0; }
.projects-partners { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; row-gap: 9px; margin-top: 29px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.5; }
.partners-label { font-size: 9px; font-weight: 500; letter-spacing: .12em; color: var(--eyebrow); }

.business-documents { display: grid; grid-template-columns: .85fr 1fr 1.15fr; gap: 18px; width: min(100%, 615px); border-top: 1px solid rgb(211 227 246 / .35); padding-top: 22px; margin-top: 31px; }
.business-documents > div { display: flex; flex-direction: column; gap: 9px; padding-left: 18px; border-left: 1px solid rgb(211 227 246 / .25); }
.business-documents > div:first-child { padding-left: 0; border-left: 0; }
.business-documents .document-code { font-size: 23px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #fff; }
.business-documents span:not(.document-code) { color: #d2dfef; font-size: 12px; line-height: 1.45; }
.contact .whatsapp-button { min-width: 360px; }

.project-popover { width: min(580px, calc(100% - 36px)); max-height: calc(100svh - 40px); margin: auto; overflow: auto; border: 1px solid var(--line); padding: 48px; color: var(--navy); background: var(--paper); box-shadow: 0 24px 120px rgb(6 35 78 / .2); }
.project-popover::backdrop { background: rgb(6 35 78 / .42); backdrop-filter: blur(5px); }
.project-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; }
.project-close .icon { width: 22px; height: 22px; }
.project-popover .eyebrow { margin-bottom: 22px; padding-right: 20px; }
.project-popover h2 { font-size: 34px; line-height: 1.15; }
.project-popover .work-label { margin-top: 30px; margin-bottom: 13px; color: var(--eyebrow); font-size: 10px; letter-spacing: .13em; font-weight: 500; }
.project-work { font-size: 17px; line-height: 1.65; color: var(--muted); }
.project-location, .project-locations { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: 17px; }
.project-locations { margin-bottom: 0; padding-left: 20px; }
.contact-service-link { display: flex; align-items: center; gap: 20px; min-height: 44px; margin: -3px 0; padding: 0; color: #fff; font-size: inherit; background: transparent; text-align: left; }
.contact-stages .contact-service-link .arrow { width: 17px; height: 17px; opacity: .75; }
.contact-location { position: absolute; z-index: 1; bottom: 48px; left: var(--gutter); right: calc(var(--gutter) + 90px); color: #c4d4e7; font-size: 11px; line-height: 1.6; }
.contact-location > span { padding: 0 9px; opacity: .6; }
.urgent-services { margin: 25px 0 0; padding: 0; list-style: none; }
.urgent-services li { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 13px 0; border-top: 1px solid var(--line); }
.urgent-services .icon { width: 29px; height: 29px; stroke-width: 1.7; color: var(--blue); }
.urgent-services li > div { display: flex; flex-direction: column; gap: 5px; }
.urgent-services strong { font-weight: 500; font-size: 16px; line-height: 1.4; letter-spacing: -.025em; }
.urgent-services li span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.service-business-note { font-size: 12px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.service-request { margin-top: 24px; width: 100%; min-width: 0; }

@media (hover: hover) {
  .project-card:hover { background: #f1f7ff; }
  .project-card:hover .project-name { color: var(--blue); }
  .project-card:hover .project-arrow { transform: translateX(4px); }
  .project-close:hover { color: var(--blue); }
  .service-support-link:hover .arrow, .contact-service-link:hover .arrow { transform: translateX(4px); }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .project-card { padding: 22px 21px; min-height: 173px; }
  .project-name { font-size: 21px; }
  .project-summary { font-size: 12px; }
  .project-meta { font-size: 9px; }
  .projects-partners { column-gap: 18px; font-size: 12px; }
  .contact .whatsapp-button { min-width: 310px; }
  .business-documents { column-gap: 12px; }
  .business-documents > div { padding-left: 12px; }
  .business-documents span:not(.document-code) { font-size: 11px; }
}

@media (max-width: 760px) {
  .hero-stages.hero-business { font-size: 11px; margin-top: 24px; }
  .hero-business .icon { width: 18px; height: 18px; }
  .business-geography { font-size: 10px; }
  .services-heading-line { margin-bottom: 14px; }
  .service-support-link { font-size: 13px; }
  .portfolio { padding: 36px var(--gutter); }
  .portfolio .projects-heading { position: relative; display: block; }
  .portfolio .projects-heading .eyebrow { font-size: 9px; min-height: 18px; margin-bottom: 20px; padding-right: 135px; white-space: nowrap; }
  .portfolio .projects-heading h2 { font-size: 36px; }
  .portfolio .projects-heading .text-link { position: absolute; top: -10px; right: 0; margin: 0; font-size: 12px; gap: 7px; min-height: 44px; }
  .projects-intro { display: none; }
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n) { min-height: 70px; padding: 13px 28px 13px 0; border-right: 0; gap: 6px; }
  .project-name { font-size: 19px; line-height: 1.2; padding-right: 0; }
  .project-meta { font-size: 9px; line-height: 1.4; padding-right: 0; }
  .project-meta > span { padding: 0 3px; }
  .project-summary { display: none; }
  .project-arrow, .project-card:nth-child(3n) .project-arrow { top: 50%; right: 0; margin-top: -9px; }
  .projects-partners { margin-top: 24px; column-gap: 15px; row-gap: 7px; font-size: 12px; }
  .partners-label { flex-basis: 100%; font-size: 8px; }
  .contact .whatsapp-button { min-width: 0; width: min(100%, 346px); font-size: 14px; padding-left: 23px; padding-right: 23px; }
  .business-documents { margin-top: 25px; padding-top: 20px; column-gap: 10px; }
  .business-documents > div { gap: 7px; padding-left: 10px; }
  .business-documents .document-code { font-size: 21px; }
  .business-documents span:not(.document-code) { font-size: 10px; line-height: 1.5; }
  .project-popover { padding: 40px 27px 30px; }
  .project-popover h2 { font-size: 29px; }
  .project-work { font-size: 16px; }
  .contact-service-link { gap: 10px; margin-top: -6px; margin-bottom: -6px; }
  .contact-stages .contact-service-link .arrow { width: 14px; height: 14px; }
  .contact-location { bottom: 22px; font-size: 10px; right: calc(var(--gutter) + 108px); }
  .contact-location > span { padding: 0 3px; }
  .service-popover h2 { font-size: 28px; }
  .urgent-services li { min-height: 61px; gap: 13px; padding: 11px 0; }
  .urgent-services strong { font-size: 15px; }
  .service-request { min-height: 53px; }
}

@media (max-width: 760px) and (max-height: 740px) {
  .hero-stages.hero-business { margin-top: 17px; font-size: 10px; }
  .portfolio { padding-top: 26px; padding-bottom: 26px; }
  .portfolio .projects-heading h2 { font-size: 31px; }
  .portfolio-grid { margin-top: 18px; }
  .project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n) { min-height: 61px; padding-top: 10px; padding-bottom: 10px; gap: 5px; }
  .project-name { font-size: 17px; }
  .projects-partners { margin-top: 18px; }
  .contact-copy .eyebrow { margin-bottom: 18px; }
  .contact .lead { font-size: 16px; margin-top: 18px; margin-bottom: 22px; }
  .business-documents { margin-top: 22px; padding-top: 17px; }
  .contact-inner { gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .project-arrow, .project-close { transition: none; }
}
