.sgp-home-lower {
  --sgp-navy: #051d67;
  --sgp-navy-deep: #031342;
  --sgp-green: #1ae184;
  --sgp-ink: #101b38;
  --sgp-muted: #627089;
  --sgp-paper: #f4f6f3;
  --sgp-white: #ffffff;
  background: var(--sgp-white);
  color: var(--sgp-ink);
  direction: rtl;
  overflow: hidden;
}

.sgp-home-lower,
.sgp-home-lower * {
  box-sizing: border-box;
}

.sgp-home-lower a {
  color: inherit;
  text-decoration: none;
}

.sgp-home-lower img {
  display: block;
  max-width: 100%;
}

.sgp-lower-shell {
  width: min(1540px, calc(100% - 80px));
  margin-inline: auto;
}

.sgp-lower-section {
  padding-block: clamp(76px, 8vw, 138px);
}

.sgp-lower-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 78px);
}

.sgp-lower-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--sgp-navy);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sgp-lower-eyebrow::before {
  width: 42px;
  height: 2px;
  background: var(--sgp-green);
  content: "";
}

.sgp-lower-heading h2,
.sgp-contact-copy h2 {
  margin: 0;
  color: var(--sgp-navy);
  font-family: "Yarden", "Assistant", sans-serif;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 400;
  line-height: 0.94;
}

.sgp-lower-heading > p {
  max-width: 620px;
  margin: 0;
  color: var(--sgp-muted);
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.75;
}

.sgp-lower-services {
  background: var(--sgp-paper);
}

.sgp-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sgp-service-card {
  position: relative;
  min-height: clamp(430px, 39vw, 600px);
  overflow: hidden;
  background: var(--sgp-navy);
  isolation: isolate;
}

.sgp-service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 19, 66, 0.04) 15%, rgba(3, 19, 66, 0.93) 94%);
  content: "";
}

.sgp-service-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.sgp-service-card:hover > img,
.sgp-service-card:focus-visible > img {
  transform: scale(1.045);
}

.sgp-service-number {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: var(--sgp-white);
  font-size: 0.85rem;
  font-weight: 700;
}

.sgp-service-copy {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 30px;
  color: var(--sgp-white);
}

.sgp-service-copy h3 {
  max-width: 300px;
  margin: 0 0 12px;
  color: var(--sgp-white);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.14;
}

.sgp-service-copy p {
  min-height: 54px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.sgp-card-linkline,
.sgp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sgp-green);
  font-weight: 700;
}

.sgp-card-linkline::after,
.sgp-text-link::after {
  font-size: 1.3em;
  content: "←";
  transition: transform 0.25s ease;
}

.sgp-service-card:hover .sgp-card-linkline::after,
.sgp-service-card:focus-visible .sgp-card-linkline::after,
.sgp-text-link:hover::after,
.sgp-text-link:focus-visible::after {
  transform: translateX(-5px);
}

.sgp-lower-projects {
  background: var(--sgp-white);
}

.sgp-projects-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}

.sgp-projects-top .sgp-lower-heading {
  display: block;
  margin: 0;
}

.sgp-text-link {
  flex: 0 0 auto;
  min-height: 48px;
  color: var(--sgp-navy);
  font-size: 1.06rem;
}

.sgp-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) 22px;
}

.sgp-project-card {
  display: block;
}

.sgp-project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9dfdc;
}

.sgp-project-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(3, 19, 66, 0.46));
  content: "";
  pointer-events: none;
}

.sgp-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sgp-project-card:hover .sgp-project-media img,
.sgp-project-card:focus-visible .sgp-project-media img {
  transform: scale(1.035);
}

.sgp-project-role {
  position: absolute;
  z-index: 1;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(3, 19, 66, 0.76);
  color: var(--sgp-white);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.sgp-project-copy {
  padding-top: 20px;
}

.sgp-project-category {
  display: block;
  margin-bottom: 7px;
  color: var(--sgp-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.sgp-project-copy h3 {
  margin: 0 0 12px;
  color: var(--sgp-navy);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1.12;
}

.sgp-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--sgp-muted);
  font-size: 0.94rem;
}

.sgp-project-meta span + span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-end: 10px;
  border-radius: 50%;
  background: var(--sgp-green);
  vertical-align: 2px;
  content: "";
}

.sgp-lower-clients {
  position: relative;
  background: var(--sgp-navy);
  color: var(--sgp-white);
}

.sgp-lower-clients::before {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  pointer-events: none;
}

.sgp-lower-clients .sgp-lower-shell {
  position: relative;
}

.sgp-clients-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.sgp-clients-intro .sgp-lower-eyebrow {
  color: var(--sgp-white);
}

.sgp-clients-intro h2 {
  max-width: 900px;
  margin: 0;
  color: var(--sgp-white);
  font-family: "Yarden", "Assistant", sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.sgp-clients-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.75;
}

.sgp-client-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid rgba(255, 255, 255, 0.28);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
}

.sgp-client-name {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.28);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--sgp-white);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 700;
  text-align: center;
}

.sgp-clients-linkrow {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
}

.sgp-clients-linkrow .sgp-text-link {
  color: var(--sgp-green);
}

.sgp-lower-contact {
  padding-block: clamp(72px, 8vw, 126px);
  background: var(--sgp-paper);
}

.sgp-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.52fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: clamp(42px, 6vw, 88px);
  background: var(--sgp-white);
  box-shadow: 0 24px 70px rgba(5, 29, 103, 0.1);
}

.sgp-contact-copy h2 {
  max-width: 900px;
  margin-bottom: 26px;
}

.sgp-contact-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--sgp-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.sgp-contact-actions {
  display: grid;
  gap: 12px;
}

.sgp-primary-action,
.sgp-secondary-action {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid var(--sgp-navy);
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.sgp-primary-action {
  background: var(--sgp-navy);
  color: var(--sgp-white) !important;
}

.sgp-primary-action:hover,
.sgp-primary-action:focus-visible {
  background: var(--sgp-navy-deep);
}

.sgp-secondary-action {
  color: var(--sgp-navy) !important;
}

.sgp-secondary-action:hover,
.sgp-secondary-action:focus-visible {
  background: var(--sgp-green);
}

.sgp-lower-footer {
  background: var(--sgp-navy-deep);
  color: var(--sgp-white);
}

.sgp-footer-main {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(150px, 0.6fr));
  gap: clamp(34px, 6vw, 92px);
  padding-block: clamp(60px, 7vw, 104px);
}

.sgp-footer-brand img {
  width: 138px;
  margin-bottom: 25px;
}

.sgp-footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.sgp-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.sgp-footer-title {
  margin: 0 0 10px;
  color: var(--sgp-green);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sgp-footer-column a {
  width: fit-content;
  min-height: 30px;
  color: rgba(255, 255, 255, 0.78);
}

.sgp-footer-column a:hover,
.sgp-footer-column a:focus-visible {
  color: var(--sgp-white);
}

.sgp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.sgp-footer-bottom p {
  margin: 0;
}

.sgp-home-lower a:focus-visible {
  outline: 3px solid var(--sgp-green);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .sgp-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sgp-service-card {
    min-height: 500px;
  }

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

  .sgp-footer-main {
    grid-template-columns: 1.2fr repeat(2, minmax(150px, 0.7fr));
  }

  .sgp-footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .sgp-lower-shell {
    width: min(100% - 36px, 720px);
  }

  .sgp-lower-heading,
  .sgp-clients-intro,
  .sgp-contact-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sgp-projects-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .sgp-client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sgp-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .sgp-footer-brand {
    grid-column: 1 / -1;
  }

  .sgp-footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .sgp-lower-shell {
    width: min(100% - 28px, 520px);
  }

  .sgp-lower-section {
    padding-block: 68px;
  }

  .sgp-service-grid,
  .sgp-project-grid,
  .sgp-client-list,
  .sgp-footer-main {
    grid-template-columns: 1fr;
  }

  .sgp-service-card {
    min-height: 470px;
  }

  .sgp-project-media {
    aspect-ratio: 1.08 / 1;
  }

  .sgp-client-list {
    border-inline-start: 0;
  }

  .sgp-client-name {
    min-height: 92px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
  }

  .sgp-contact-panel {
    padding: 34px 24px;
  }

  .sgp-footer-brand,
  .sgp-footer-column:last-child {
    grid-column: auto;
  }

  .sgp-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgp-home-lower *,
  .sgp-home-lower *::before,
  .sgp-home-lower *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
