.projects-section { background: var(--soft); border-block: 1px solid #e3eaf2; }
.projects-section .projects-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.projects-heading h2 { margin: 0 0 18px; color: var(--navy); font-size: 36px; line-height: 1.16; }
.projects-heading > p:last-child { color: var(--muted); margin: 0; line-height: 1.75; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.project-card { min-width: 0; scroll-margin-top: 110px; }
.project-card__link { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #dce4ed; border-radius: 8px; overflow: hidden; transition: box-shadow 180ms ease, border-color 180ms ease; }
.project-card__media { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #e9edf0; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.project-card__count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; background: #fff; color: var(--navy); border-radius: 4px; font-size: 12px; font-weight: 700; }
.project-card__count svg { width: 15px; height: 15px; }
.project-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.project-card__kind { color: #647185; font-size: 12px; margin-bottom: 9px; }
.project-card h2, .project-card h3 { color: var(--navy); margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 700; overflow-wrap: break-word; }
.project-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.65; color: #536277; }
.project-card__action { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 10px; margin-top: auto; min-height: 44px; padding-top: 12px; border-top: 1px solid #e5eaf0; color: var(--navy); font-size: 14px; font-weight: 700; }
.project-card__action svg { width: 19px; height: 19px; color: #0078b3; flex: none; }
.project-card__link:focus-visible, .projects-section a:focus-visible, .projects-section button:focus-visible, .projects-page a:focus-visible, .projects-page button:focus-visible { outline: 3px solid #0078b3; outline-offset: 4px; }
@media (hover: hover) {
  .project-card__link:hover { border-color: #92b9d6; box-shadow: 0 10px 26px rgba(0, 39, 105, .09); }
  .project-card__link:hover img { transform: scale(1.025); }
}
.projects-section__all { display: flex; justify-content: center; margin-top: 32px; }
.projects-section__consultation { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #dce4ed; }
.projects-section__consultation p { max-width: 650px; margin: 0; color: #536277; line-height: 1.7; }
.projects-section__consultation .button { flex: none; }

.projects-intro { padding: 36px 0 40px; }
.projects-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #5f6b7a; font-size: 13px; margin-bottom: 32px; }
.projects-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.projects-breadcrumb svg { width: 14px; height: 14px; }
.projects-intro h1 { font-size: 48px; line-height: 1.15; color: var(--navy); margin: 0 0 18px; }
.projects-intro__lead { max-width: 720px; color: #536277; line-height: 1.75; margin: 0 0 16px; font-size: 17px; }
.projects-intro__local { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 14px; margin: 0; }
.projects-intro__local svg { color: #0078b3; width: 18px; height: 18px; flex: none; }
.projects-collection { background: var(--soft); padding: 28px 0 64px; border-top: 1px solid #e3eaf2; }
.projects-collection__meta { margin: 0 0 22px; color: #5f6b7a; font-size: 13px; }
.projects-cta { background: var(--navy); color: #fff; padding: 56px 0; }
.projects-cta h2 { color: #fff; max-width: 680px; font-size: 32px; line-height: 1.2; margin: 0 0 18px; }
.projects-cta p { max-width: 690px; color: #dce8f5; line-height: 1.7; }
.projects-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.projects-cta .button--secondary { background: transparent; border-color: #a9bfdc; color: #fff; }
.projects-cta__address { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 0; }
.projects-cta__address svg { flex: none; width: 18px; height: 18px; }

body.is-project-gallery-open { overflow: hidden; }
.project-gallery { width: min(1280px, calc(100% - 40px)); max-width: none; height: min(900px, calc(100dvh - 40px)); max-height: none; margin: auto; padding: 0; color: #fff; background: #111c2b; border: 1px solid #536277; border-radius: 8px; overflow: hidden; }
.project-gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.project-gallery::backdrop { background: rgba(6, 15, 27, .88); }
.project-gallery__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; }
.project-gallery__head p { margin: 0 0 5px; color: #c0d1e2; font-size: 12px; }
.project-gallery__head h2 { font-size: 22px; line-height: 1.25; color: #fff; margin: 0; }
.project-gallery__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #64768b; border-radius: 6px; color: #fff; background: #243449; cursor: pointer; }
.project-gallery__icon:hover { background: #354a62; }
.project-gallery__icon:focus-visible { outline: 3px solid #56caff; outline-offset: 3px; }
.project-gallery__icon svg { width: 22px; height: 22px; }
.project-gallery__stage { display: grid; min-width: 0; min-height: 0; margin: 0; position: relative; background: #0c1420; touch-action: pan-y pinch-zoom; }
.project-gallery__stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; grid-area: 1 / 1; }
.project-gallery__status { grid-area: 1 / 1; align-self: center; justify-self: center; z-index: 1; max-width: 90%; padding: 12px 18px; color: #fff; background: #243449; border-radius: 6px; font-size: 14px; text-align: center; }
.project-gallery [hidden] { display: none !important; }
.project-gallery__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.project-gallery__caption { min-width: 0; }
.project-gallery__caption p { margin: 0; font-size: 13px; color: #d5e1ec; }
.project-gallery__caption strong { display: block; font-size: 13px; color: #fff; margin-bottom: 4px; }
.project-gallery__arrows { display: flex; gap: 10px; }
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-section__consultation { align-items: flex-start; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .projects-section .container, .projects-page .container { width: calc(100% - 32px); }
  .projects-heading h2 { font-size: 28px; }
  .projects-section .projects-heading { margin-bottom: 28px; text-align: left; }
  .projects-section__consultation { flex-direction: column; gap: 20px; }
  .projects-section .button, .projects-cta .button { width: 100%; min-height: 48px; text-align: center; white-space: normal; }
  .project-card__body { padding: 20px; }
  .projects-intro { padding: 24px 0 30px; }
  .projects-breadcrumb { margin-bottom: 26px; }
  .projects-intro h1 { font-size: 34px; }
  .projects-intro__lead { font-size: 16px; }
  .projects-intro__local { align-items: flex-start; line-height: 1.6; }
  .projects-intro__local svg { margin-top: 3px; }
  .projects-cta { padding: 40px 0; }
  .projects-cta h2 { font-size: 28px; }
  .projects-cta__actions { flex-direction: column; }
  .project-gallery { width: calc(100% - 16px); height: calc(100dvh - 24px); }
  .project-gallery__head, .project-gallery__foot { padding: 14px; gap: 14px; }
  .project-gallery__head h2 { font-size: 18px; }
  .project-gallery__foot { flex-wrap: wrap; }
  .project-gallery__caption { flex: 1; min-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-card__link, .project-card__media img { transition: none; }
}
