/*
Theme Name: SPSP Astra Child
Theme URI: https://staging.spsp.gis.ru/
Description: SPSP staging theme based on Astra and the 2025 SPSP brand guide.
Author: SPSP project
Template: astra
Version: 0.1.0
Text Domain: spsp-astra-child
*/

:root {
  --spsp-blue: #004c94;
  --spsp-blue-deep: #123f69;
  --spsp-blue-dark: #152b40;
  --spsp-blue-mid: #3370a9;
  --spsp-blue-pale: #cfdbe8;
  --spsp-ink: #191919;
  --spsp-gray: #4d4d4d;
  --spsp-paper: #fafafa;
  --spsp-line: rgba(250, 250, 250, 0.66);
  --spsp-container: 1388px;
  --spsp-pad: clamp(18px, 3.5vw, 30px);
  --spsp-heading: "Manrope", "Golos Text", Arial, sans-serif;
  --spsp-body: "Golos Text", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.spsp-custom {
  margin: 0;
  background: var(--spsp-paper);
  color: var(--spsp-ink);
  font-family: var(--spsp-body);
  font-size: 17px;
  line-height: 1.5;
}

.spsp-custom * {
  box-sizing: border-box;
}

.spsp-custom a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.spsp-skip-link {
  background: #ffffff;
  color: var(--spsp-blue-deep);
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  z-index: 1000;
}

.spsp-skip-link:focus {
  top: 16px;
}

.spsp-site-header {
  background: var(--spsp-blue-deep);
  border-bottom: 1px solid var(--spsp-line);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.spsp-header-inner {
  align-items: center;
  display: grid;
  gap: clamp(18px, 2.6vw, 44px);
  grid-template-columns: minmax(360px, 1fr) auto auto;
  margin: 0 auto;
  max-width: var(--spsp-container);
  min-height: 68px;
  padding: 0 var(--spsp-pad);
}

.spsp-logo {
  align-items: flex-start;
  display: inline-flex;
  text-decoration: none;
}

.spsp-logo-image {
  display: block;
  height: auto;
  max-width: 100%;
  width: clamp(215px, 16vw, 255px);
}

.spsp-site-footer .spsp-logo-image {
  width: clamp(235px, 19vw, 300px);
}

.spsp-logo-main {
  display: block;
  font-family: var(--spsp-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spsp-logo-sub {
  display: block;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.1;
  max-width: 70px;
  opacity: 0.86;
  padding-top: 2px;
  text-transform: uppercase;
}

.spsp-nav .menu {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 46px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.spsp-nav a,
.spsp-phone {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.spsp-nav a:hover,
.spsp-nav .current-menu-item > a,
.spsp-phone:hover {
  color: #cfdbe8;
}

.spsp-main {
  margin: 0;
  min-height: 60vh;
}

.spsp-page-content > *:first-child {
  margin-top: 0;
}

.spsp-page-content > *:last-child {
  margin-bottom: 0;
}

.spsp-section {
  padding: clamp(72px, 8vw, 128px) var(--spsp-pad);
}

.spsp-section-inner {
  margin: 0 auto;
  max-width: var(--spsp-container);
}

.spsp-hero {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(42% - 1px), rgba(250, 250, 250, 0.68) calc(42% - 1px), rgba(250, 250, 250, 0.68) 42%, transparent 42%),
    linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), rgba(250, 250, 250, 0.68) calc(100% - 1px)),
    var(--spsp-blue-deep);
  color: #ffffff;
  padding: 0 var(--spsp-pad) 42px;
}

.spsp-hero-inner {
  display: grid;
  gap: clamp(26px, 3vw, 48px);
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  margin: 0 auto;
  max-width: var(--spsp-container);
  min-height: clamp(590px, 72vh, 780px);
}

.spsp-hero-copy {
  align-self: end;
  padding: clamp(80px, 10vw, 180px) 0 clamp(52px, 7vw, 96px);
}

.spsp-hero-title {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: clamp(62px, 7vw, 118px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 64px;
  text-transform: uppercase;
}

.spsp-custom .spsp-hero-cta,
.spsp-custom .spsp-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--spsp-gray) !important;
  display: inline-flex;
  font-family: var(--spsp-heading);
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  min-height: 62px;
  padding: 0 72px;
  text-decoration: none;
  text-transform: uppercase;
}

.spsp-custom .spsp-button:hover,
.spsp-custom .spsp-hero-cta:hover {
  background: var(--spsp-blue-mid);
  border-color: var(--spsp-blue-mid);
  color: #ffffff !important;
}

.spsp-project-mosaic {
  align-self: center;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spsp-project-mosaic figure {
  margin: 0;
  min-width: 0;
}

.spsp-project-mosaic .spsp-mosaic-large {
  grid-column: 1 / -1;
}

.spsp-project-mosaic img {
  aspect-ratio: 1.42 / 1;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.spsp-project-mosaic .spsp-mosaic-large img {
  aspect-ratio: 1.92 / 1;
}

.spsp-project-mosaic figcaption {
  color: #ffffff;
  font-size: 11px;
  line-height: 1.2;
  margin-top: 8px;
  min-height: 28px;
  opacity: 0.86;
  text-align: right;
}

.spsp-about {
  background: #ffffff;
}

.spsp-about-grid {
  display: grid;
  gap: clamp(40px, 7vw, 140px);
  grid-template-columns: minmax(180px, 0.45fr) minmax(420px, 1fr);
}

.spsp-mark {
  color: var(--spsp-blue);
  display: inline-grid;
  font-family: var(--spsp-heading);
  font-size: 42px;
  font-weight: 800;
  height: 58px;
  letter-spacing: 0;
  line-height: 1;
  place-items: center;
  position: relative;
  text-transform: uppercase;
  width: 72px;
}

.spsp-mark::before,
.spsp-mark::after {
  border: 3px solid var(--spsp-blue);
  content: "";
  position: absolute;
}

.spsp-mark::before {
  height: 34px;
  left: 0;
  top: 10px;
  width: 42px;
}

.spsp-mark::after {
  bottom: 6px;
  height: 34px;
  right: 0;
  width: 42px;
}

.spsp-kicker {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.spsp-heading {
  color: var(--spsp-gray);
  font-family: var(--spsp-heading);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 34px;
  text-transform: uppercase;
}

.spsp-lead {
  color: var(--spsp-gray);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.45;
  margin: 0 0 28px;
  max-width: 860px;
}

.spsp-copy {
  color: var(--spsp-gray);
  max-width: 850px;
}

.spsp-copy p {
  margin: 0 0 18px;
}

.spsp-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.spsp-stat {
  border-top: 1px solid #b8c7d5;
  padding-top: 18px;
}

.spsp-stat strong {
  color: var(--spsp-blue);
  display: block;
  font-family: var(--spsp-heading);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1;
}

.spsp-stat span {
  color: var(--spsp-gray);
  display: block;
  font-size: 15px;
  margin-top: 10px;
}

.spsp-services {
  background: var(--spsp-paper);
  border-top: 1px solid #d6dde5;
}

.spsp-services-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spsp-service-card {
  background: #ffffff;
  min-height: 240px;
  padding: 34px;
}

.spsp-service-card h3 {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.spsp-service-card p {
  color: var(--spsp-gray);
  margin: 0;
}

.spsp-projects {
  background: var(--spsp-blue-deep);
  color: #ffffff;
}

.spsp-projects .spsp-heading,
.spsp-projects .spsp-lead,
.spsp-projects .spsp-kicker {
  color: #ffffff;
}

.spsp-project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.spsp-project-card {
  color: #ffffff;
  display: block;
  text-decoration: none;
}

.spsp-project-card:where(a),
.spsp-project-card a {
  color: #ffffff;
  text-decoration: none;
}

.spsp-project-card img {
  aspect-ratio: 1.22 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.spsp-project-card h3 {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin: 12px 0 0;
}

.spsp-contact-band {
  background: #ffffff;
  border-top: 1px solid #d6dde5;
}

.spsp-contact-grid {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
}

.spsp-contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.spsp-contact-list a,
.spsp-contact-list span {
  color: var(--spsp-gray);
  font-size: 20px;
}

.spsp-contact-band .spsp-button {
  background: var(--spsp-blue);
  border-color: var(--spsp-blue);
  color: #ffffff !important;
}

.spsp-contact-band .spsp-button:hover {
  background: var(--spsp-blue-dark);
  border-color: var(--spsp-blue-dark);
}

.spsp-page-hero {
  background:
    linear-gradient(rgba(250, 250, 250, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 250, 250, 0.14) 1px, transparent 1px),
    var(--spsp-blue-deep);
  background-size: 96px 96px;
  color: #ffffff;
  padding: clamp(88px, 11vw, 150px) var(--spsp-pad);
}

.spsp-page-hero-inner {
  margin: 0 auto;
  max-width: var(--spsp-container);
}

.spsp-page-title {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: clamp(56px, 8vw, 118px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.spsp-detail-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spsp-detail-card {
  background: #ffffff;
  padding: clamp(28px, 4vw, 54px);
}

.spsp-detail-card h2,
.spsp-detail-card h3 {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.spsp-detail-card p,
.spsp-detail-card li {
  color: var(--spsp-gray);
}

.spsp-detail-card ul {
  margin: 0;
  padding-left: 20px;
}

.spsp-map-placeholder {
  align-items: center;
  background:
    linear-gradient(rgba(18, 63, 105, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 105, 0.08) 1px, transparent 1px),
    #eef3f8;
  background-size: 52px 52px;
  color: var(--spsp-blue-deep);
  display: flex;
  min-height: 340px;
  padding: 40px;
}

.spsp-site-footer {
  background: var(--spsp-ink);
  color: #ffffff;
}

.spsp-footer-inner {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  margin: 0 auto;
  max-width: var(--spsp-container);
  padding: 52px var(--spsp-pad);
}

.spsp-footer-meta {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 8px;
}

.spsp-footer-links {
  align-items: start;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.spsp-footer-links a,
.spsp-footer-links span {
  color: #ffffff;
  text-align: right;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .spsp-header-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .spsp-nav .menu {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .spsp-hero {
    background: var(--spsp-blue-deep);
  }

  .spsp-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
  }

  .spsp-hero-copy {
    padding: 0;
  }

  .spsp-hero-title {
    margin-bottom: 34px;
  }

  .spsp-about-grid,
  .spsp-contact-grid,
  .spsp-footer-inner {
    grid-template-columns: 1fr;
  }

  .spsp-footer-links {
    justify-items: start;
  }

  .spsp-footer-links a,
  .spsp-footer-links span {
    text-align: left;
  }

  .spsp-services-grid,
  .spsp-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.spsp-custom {
    font-size: 16px;
  }

  .spsp-header-inner {
    min-height: 0;
  }

  .spsp-logo-main {
    font-size: 15px;
  }

  .spsp-logo-image {
    width: min(255px, 72vw);
  }

  .spsp-nav a,
  .spsp-phone {
    font-size: 13px;
  }

  .spsp-hero {
    padding-bottom: 28px;
  }

  .spsp-hero-title {
    font-size: clamp(46px, 15vw, 72px);
  }

  .spsp-hero-cta,
  .spsp-button {
    min-height: 54px;
    padding: 0 28px;
    width: 100%;
  }

  .spsp-project-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spsp-project-mosaic .spsp-mosaic-large {
    grid-column: 1 / -1;
  }

  .spsp-project-mosaic figcaption {
    text-align: left;
  }

  .spsp-stats,
  .spsp-services-grid,
  .spsp-project-grid,
  .spsp-detail-grid {
    grid-template-columns: 1fr;
  }

  .spsp-heading,
  .spsp-page-title {
    overflow-wrap: anywhere;
  }
}

/* Elementor structured page build */
.spsp-custom .elementor {
  font-family: var(--spsp-body);
}

.spsp-custom .elementor p {
  margin: 0;
}

.spsp-custom .elementor a {
  text-decoration: none;
}

.spsp-custom .elementor-widget-heading,
.spsp-custom .elementor-widget-text-editor,
.spsp-custom .elementor-widget-button,
.spsp-custom .elementor-widget-image {
  margin-block-end: 0;
}

.spsp-custom .spsp-el-hero.e-con {
  background: var(--spsp-blue-deep);
  isolation: isolate;
  overflow: hidden;
  padding: 0 var(--spsp-pad) 30px;
  position: relative;
}

.spsp-custom .spsp-el-hero.e-con::before {
  --spsp-grid-line-color: rgba(250, 250, 250, 0.34);
  --spsp-grid-split: calc(36% + (clamp(24px, 2.5vw, 36px) / 2));
  background:
    linear-gradient(var(--spsp-grid-line-color) 0 0) var(--spsp-grid-split) 0 / 1px 100% no-repeat,
    linear-gradient(var(--spsp-grid-line-color) 0 0) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--spsp-grid-line-color) 0 0) 0 100% / 100% 1px no-repeat;
  bottom: 30px;
  content: "";
  left: 50%;
  max-width: var(--spsp-container);
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(calc(100% - (var(--spsp-pad) * 2)), var(--spsp-container));
  z-index: 0;
}

.spsp-custom .spsp-el-hero.e-con > .e-con-inner {
  align-items: center;
  display: grid;
  gap: clamp(24px, 2.5vw, 36px);
  grid-template-columns: minmax(380px, 0.72fr) minmax(620px, 1.28fr);
  max-width: var(--spsp-container);
  min-height: clamp(560px, 62vh, 646px);
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.spsp-custom .spsp-el-hero-copy.e-con {
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100%;
  padding: clamp(64px, 7.2vw, 112px) 0 clamp(92px, 8vw, 126px);
}

.spsp-custom .spsp-el-hero-title .elementor-heading-title {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: clamp(70px, 5.55vw, 90px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.spsp-custom .spsp-el-hero-button .elementor-button,
.spsp-custom .spsp-el-contact-button .elementor-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0;
  color: var(--spsp-gray);
  display: inline-flex;
  font-family: var(--spsp-heading);
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-height: 54px;
  min-width: 316px;
  padding: 0 46px;
  text-transform: uppercase;
}

.spsp-custom .spsp-el-hero-button .elementor-button:hover {
  background: var(--spsp-blue-mid);
  border-color: var(--spsp-blue-mid);
  color: #ffffff;
}

.spsp-custom .spsp-el-hero-media.e-con {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: clamp(24px, 2vw, 32px) 0 0;
}

.spsp-custom .spsp-el-mosaic-main img {
  aspect-ratio: 1.92 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.spsp-custom .spsp-el-mosaic-grid.e-con {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.spsp-custom .spsp-el-project-tile.e-con {
  gap: 7px;
  padding: 0;
}

.spsp-custom .spsp-el-project-image img {
  aspect-ratio: 1.42 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.spsp-custom .spsp-el-project-caption .elementor-heading-title {
  color: #ffffff;
  font-family: var(--spsp-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.88;
}

.spsp-custom .spsp-el-section.e-con {
  padding: clamp(76px, 8vw, 116px) var(--spsp-pad);
}

.spsp-custom .spsp-el-about-page.e-con,
.spsp-custom .spsp-el-services-page.e-con,
.spsp-custom .spsp-el-contact-page.e-con,
.spsp-custom .spsp-el-projects-page.e-con {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.spsp-custom .spsp-el-about-page.e-con::before,
.spsp-custom .spsp-el-services-page.e-con::before,
.spsp-custom .spsp-el-contact-page.e-con::before,
.spsp-custom .spsp-el-projects-page.e-con::before {
  --spsp-grid-line-color: rgba(0, 76, 148, 0.08);
  background: linear-gradient(var(--spsp-grid-line-color) 0 0) 0 0 / 100% 1px no-repeat;
  content: "";
  height: 1px;
  left: 50%;
  max-width: var(--spsp-container);
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(calc(100% - (var(--spsp-pad) * 2)), var(--spsp-container));
  z-index: 0;
}

.spsp-custom .spsp-el-projects-page.e-con::before {
  --spsp-grid-line-color: rgba(250, 250, 250, 0.16);
}

.spsp-custom .spsp-el-about-page.e-con > .e-con-inner,
.spsp-custom .spsp-el-services-page.e-con > .e-con-inner,
.spsp-custom .spsp-el-contact-page.e-con > .e-con-inner,
.spsp-custom .spsp-el-projects-page.e-con > .e-con-inner {
  position: relative;
  z-index: 1;
}

.spsp-custom .spsp-page-content > .elementor > .spsp-el-section:first-child:not(.spsp-el-hero),
.spsp-custom .spsp-page-content > .elementor > .e-con:first-child:not(.spsp-el-hero) {
  padding-top: clamp(54px, 5vw, 78px);
}

.spsp-custom .spsp-el-section.e-con > .e-con-inner {
  max-width: var(--spsp-container);
  width: 100%;
}

.spsp-custom .spsp-el-about {
  background: #ffffff;
}

.spsp-custom .spsp-el-about.e-con > .e-con-inner {
  display: grid;
  gap: clamp(42px, 7vw, 124px);
  grid-template-columns: minmax(120px, 0.34fr) minmax(420px, 1fr);
}

.spsp-custom .spsp-el-about-page.e-con > .e-con-inner {
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(76px, 0.18fr) minmax(410px, 0.9fr) minmax(340px, 0.64fr);
}

.spsp-custom .spsp-el-mark-col.e-con {
  align-items: flex-start;
}

.spsp-custom .spsp-el-mark-image img {
  display: block;
  height: auto;
  width: clamp(56px, 7vw, 86px);
}

.spsp-custom .spsp-el-mark .elementor-heading-title {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  position: relative;
}

.spsp-custom .spsp-el-mark .elementor-heading-title::before,
.spsp-custom .spsp-el-mark .elementor-heading-title::after {
  border: 2px solid var(--spsp-blue);
  content: "";
  height: 28px;
  position: absolute;
  width: 34px;
}

.spsp-custom .spsp-el-mark .elementor-heading-title::before {
  left: -8px;
  top: 2px;
}

.spsp-custom .spsp-el-mark .elementor-heading-title::after {
  bottom: -5px;
  right: -12px;
}

.spsp-custom .spsp-el-copy-col.e-con,
.spsp-custom .spsp-el-contact-copy.e-con {
  gap: 18px;
}

.spsp-custom .spsp-el-kicker .elementor-heading-title {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.spsp-custom .spsp-el-heading .elementor-heading-title {
  color: var(--spsp-gray);
  font-family: var(--spsp-heading);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.spsp-custom .spsp-el-lead {
  max-width: 850px;
}

.spsp-custom .spsp-el-lead .elementor-widget-container,
.spsp-custom .spsp-el-lead p {
  color: var(--spsp-gray);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.44;
}

.spsp-custom .spsp-el-body {
  max-width: 850px;
}

.spsp-custom .spsp-el-body .elementor-widget-container,
.spsp-custom .spsp-el-body p,
.spsp-custom .spsp-el-card-text p,
.spsp-custom .spsp-el-contact-list p {
  color: var(--spsp-gray);
  font-size: 16px;
  line-height: 1.48;
}

.spsp-custom .spsp-el-body p + p,
.spsp-custom .spsp-el-contact-list p + p {
  margin-top: 14px;
}

.spsp-custom .spsp-el-stats.e-con {
  border-top: 1px solid #b8c7d5;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 18px;
}

.spsp-custom .spsp-el-stat.e-con {
  gap: 5px;
}

.spsp-custom .spsp-el-stat-value .elementor-heading-title {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 700;
  line-height: 1;
}

.spsp-custom .spsp-el-stat-label p {
  color: var(--spsp-gray);
  font-size: 13px;
  line-height: 1.25;
}

.spsp-custom .spsp-el-feature-visual.e-con {
  gap: 10px;
}

.spsp-custom .spsp-el-feature-image .elementor-widget-container {
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
}

.spsp-custom .spsp-el-feature-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.spsp-custom .spsp-el-feature-caption .elementor-heading-title {
  color: var(--spsp-gray);
  font-family: var(--spsp-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.spsp-custom .spsp-el-services {
  background: var(--spsp-paper);
  border-top: 1px solid #d6dde5;
}

.spsp-custom .spsp-el-services.e-con > .e-con-inner,
.spsp-custom .spsp-el-projects.e-con > .e-con-inner {
  gap: 26px;
}

.spsp-custom .spsp-el-services-grid.e-con,
.spsp-custom .spsp-el-detail-grid.e-con {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.spsp-custom .spsp-el-services-visual.e-con {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  max-width: 980px;
  padding: 0;
}

.spsp-custom .spsp-el-services-page .spsp-el-services-grid.e-con {
  max-width: 980px;
  padding: 0;
}

.spsp-custom .spsp-el-services-shot.e-con {
  align-self: start;
  gap: 8px;
  padding: 0;
}

.spsp-custom .spsp-el-services-visual .spsp-el-project-image {
  aspect-ratio: 1.42 / 1;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.spsp-custom .spsp-el-services-visual .spsp-el-project-image .elementor-widget-container {
  background: #d8dee5;
  height: 100%;
  overflow: hidden;
}

.spsp-custom .spsp-el-services-visual .spsp-el-project-image img {
  aspect-ratio: auto;
  display: block;
  height: 100% !important;
  object-fit: cover;
  width: 100%;
}

.spsp-custom .spsp-el-services-shot-avangard .spsp-el-project-image img {
  object-position: 50% 50%;
}

.spsp-custom .spsp-el-services-shot-housing .spsp-el-project-image img {
  object-position: 50% 48%;
}

.spsp-custom .spsp-el-services-shot-admin .spsp-el-project-image img {
  object-position: 52% 50%;
}

.spsp-custom .spsp-el-services-visual .spsp-el-project-caption .elementor-heading-title {
  color: var(--spsp-gray);
  opacity: 1;
}

.spsp-custom .spsp-el-detail-grid.e-con {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spsp-custom .spsp-el-service-card.e-con {
  background: #ffffff;
  gap: 15px;
  min-height: 210px;
  padding: 30px;
}

.spsp-custom .spsp-el-card-heading .elementor-heading-title {
  color: var(--spsp-blue);
  font-family: var(--spsp-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
}

.spsp-custom .spsp-el-projects {
  background: var(--spsp-blue-deep);
  color: #ffffff;
}

.spsp-custom .spsp-el-projects-page.e-con {
  padding-top: clamp(48px, 4.7vw, 72px);
}

.spsp-custom .spsp-el-projects .spsp-el-kicker .elementor-heading-title,
.spsp-custom .spsp-el-projects .spsp-el-heading .elementor-heading-title,
.spsp-custom .spsp-el-projects .spsp-el-lead p {
  color: #ffffff;
}

.spsp-custom .spsp-el-project-grid.e-con {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.spsp-custom .spsp-el-project-grid-wide.e-con {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spsp-custom .spsp-el-project-grid .spsp-el-project-tile.e-con {
  gap: 10px;
}

.spsp-custom .spsp-el-project-grid .spsp-el-project-image img {
  aspect-ratio: 1.24 / 1;
}

.spsp-custom .spsp-el-contact {
  background: #ffffff;
  border-top: 1px solid #d6dde5;
}

.spsp-custom .spsp-el-contact.e-con > .e-con-inner {
  align-items: end;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) auto;
}

.spsp-custom .spsp-el-contact-page.e-con > .e-con-inner {
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.spsp-custom .spsp-el-contact-list a {
  color: var(--spsp-gray);
}

.spsp-custom .spsp-el-contact-button .elementor-button {
  background: var(--spsp-blue);
  border-color: var(--spsp-blue);
  color: #ffffff;
}

.spsp-custom .spsp-el-contact-button .elementor-button:hover {
  background: var(--spsp-blue-dark);
  border-color: var(--spsp-blue-dark);
}

.spsp-custom .spsp-el-map.e-con {
  background:
    linear-gradient(rgba(18, 63, 105, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 105, 0.08) 1px, transparent 1px),
    #eef3f8;
  background-size: 52px 52px;
  justify-content: center;
  min-height: 330px;
  padding: 42px;
}

.spsp-custom .spsp-el-page-hero.e-con {
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.13) 1px, transparent 1px),
    var(--spsp-blue-deep);
  background-size: 90px 90px;
  padding: 0 var(--spsp-pad);
}

.spsp-custom .spsp-el-page-hero.e-con > .e-con-inner {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  max-width: var(--spsp-container);
  min-height: clamp(96px, 10vw, 128px);
  width: 100%;
}

.spsp-custom .spsp-el-page-title .elementor-heading-title {
  color: #ffffff;
  font-family: var(--spsp-heading);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  max-width: 980px;
  text-align: left;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .spsp-custom .spsp-el-hero.e-con > .e-con-inner,
  .spsp-custom .spsp-el-about.e-con > .e-con-inner,
  .spsp-custom .spsp-el-services-visual.e-con,
  .spsp-custom .spsp-el-contact.e-con > .e-con-inner,
  .spsp-custom .spsp-el-contact-page.e-con > .e-con-inner {
    grid-template-columns: 1fr;
  }

  .spsp-custom .spsp-el-services-grid.e-con,
  .spsp-custom .spsp-el-project-grid.e-con,
  .spsp-custom .spsp-el-project-grid-wide.e-con {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spsp-custom .spsp-el-hero-copy.e-con {
    min-height: 0;
    padding: 48px 0 0;
  }

  .spsp-custom .spsp-el-services-visual.e-con {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spsp-custom .spsp-el-services-visual .spsp-el-project-image .elementor-widget-container {
    aspect-ratio: auto;
  }

  .spsp-custom .spsp-el-services-visual .spsp-el-project-image {
    aspect-ratio: 1.56 / 1;
  }
}

@media (max-width: 720px) {
  .spsp-header-inner {
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .spsp-nav .menu {
    gap: 12px 20px;
  }

  .spsp-custom .spsp-el-hero.e-con,
  .spsp-custom .spsp-el-section.e-con,
  .spsp-custom .spsp-el-page-hero.e-con {
    padding-left: 20px;
    padding-right: 20px;
  }

  .spsp-custom .spsp-el-hero.e-con {
    background: var(--spsp-blue-deep);
    padding-bottom: 24px;
  }

  .spsp-custom .spsp-el-hero.e-con::before {
    background:
      linear-gradient(var(--spsp-grid-line-color) 0 0) 0 0 / 100% 1px no-repeat,
      linear-gradient(var(--spsp-grid-line-color) 0 0) 0 100% / 100% 1px no-repeat;
    bottom: 24px;
    width: calc(100% - 40px);
  }

  .spsp-custom .spsp-el-about-page.e-con::before,
  .spsp-custom .spsp-el-services-page.e-con::before,
  .spsp-custom .spsp-el-contact-page.e-con::before,
  .spsp-custom .spsp-el-projects-page.e-con::before {
    background: linear-gradient(var(--spsp-grid-line-color) 0 0) 0 0 / 100% 1px no-repeat;
    width: calc(100% - 40px);
  }

  .spsp-custom .spsp-el-hero.e-con > .e-con-inner {
    gap: 24px;
    min-height: 0;
  }

  .spsp-custom .spsp-el-hero-copy.e-con {
    gap: 18px;
    padding: 44px 0 0;
  }

  .spsp-custom .spsp-el-hero-media.e-con {
    padding-top: 0;
  }

  .spsp-custom .spsp-el-hero-title .elementor-heading-title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .spsp-custom .spsp-el-heading .elementor-heading-title {
    font-size: clamp(30px, 8.6vw, 38px);
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .spsp-custom .spsp-el-page-title .elementor-heading-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .spsp-custom .spsp-el-mosaic-grid.e-con,
  .spsp-custom .spsp-el-services-grid.e-con,
  .spsp-custom .spsp-el-detail-grid.e-con,
  .spsp-custom .spsp-el-project-grid.e-con,
  .spsp-custom .spsp-el-project-grid-wide.e-con,
  .spsp-custom .spsp-el-stats.e-con {
    grid-template-columns: 1fr;
  }

  .spsp-custom .spsp-el-hero .spsp-el-mosaic-grid.e-con {
    grid-template-columns: repeat(4, minmax(142px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .spsp-custom .spsp-el-hero .spsp-el-mosaic-main img {
    aspect-ratio: 2.05 / 1;
  }

  .spsp-custom .spsp-el-hero .spsp-el-project-caption .elementor-heading-title {
    font-size: 10px;
    line-height: 1.15;
  }

  .spsp-custom .spsp-el-hero-button .elementor-button,
  .spsp-custom .spsp-el-contact-button .elementor-button {
    min-width: 0;
    width: 100%;
  }

  .spsp-custom .spsp-el-services-visual.e-con {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .spsp-custom .spsp-el-services-shot-avangard.e-con {
    grid-column: 1 / -1;
  }

  .spsp-custom .spsp-el-services-visual .spsp-el-project-image .elementor-widget-container {
    aspect-ratio: auto;
  }

  .spsp-custom .spsp-el-services-visual .spsp-el-project-image {
    aspect-ratio: 1.66 / 1;
  }

  .spsp-custom .spsp-el-services-visual .spsp-el-project-caption .elementor-heading-title {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .spsp-logo-image {
    width: min(245px, 70vw);
  }

  .spsp-nav .menu {
    gap: 12px 14px;
  }

  .spsp-nav a,
  .spsp-phone {
    font-size: 12px;
  }
}

/* Services: expanded details must not contribute an intrinsic grid minimum. */
body.spsp-custom.page-id-15 .elementor-15 .elementor-element.elementor-element-b16e6a1 {
  --e-con-grid-template-columns: repeat(3, minmax(0, 1fr));
  --e-con-grid-template-rows: none;
  grid-auto-rows: auto;
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-items: stretch;
}

body.spsp-custom.page-id-15 .elementor-element-b16e6a1 > .elementor-widget-n-accordion {
  align-self: start;
}

body.spsp-custom.page-id-15 .elementor-element-b16e6a1 > .elementor-widget-n-accordion,
body.spsp-custom.page-id-15 .elementor-element-b16e6a1 .e-n-accordion,
body.spsp-custom.page-id-15 .elementor-element-b16e6a1 .e-n-accordion-item,
body.spsp-custom.page-id-15 .elementor-element-b16e6a1 .e-n-accordion-item > .e-con {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body.spsp-custom.page-id-15 .elementor-element-b16e6a1 .e-n-accordion-item-title-header,
body.spsp-custom.page-id-15 .elementor-element-b16e6a1 .e-n-accordion-item-title-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body.spsp-custom.page-id-15 .elementor-15 .elementor-element.elementor-element-b16e6a1 {
    --e-con-grid-template-columns: minmax(0, 1fr);
  }
}
