* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid rgba(103, 77, 168, 0.28);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 100;

  width: calc(100% - 28px);
  max-width: var(--observer-max);

  margin: 10px auto 0;
  padding: 13px 18px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;

  border: 1px solid var(--observer-line);
  border-radius: 23px;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(150%);

  box-shadow: var(--observer-shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  color: #59418b;
  text-decoration: none;
  font-weight: 950;
  white-space: nowrap;
}

.brand-icon {
  width: 50px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background:
    linear-gradient(145deg, #ffffff, #eee7ff);

  box-shadow:
    0 7px 17px rgba(75, 53, 113, 0.13);

  font-size: 26px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 42px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 9px 13px;
  border-radius: 999px;

  color: #5f5874;
  text-decoration: none;
  font-weight: 820;
}

.site-nav a:hover,
.site-nav a.current {
  color: #573d88;
  background: rgba(130, 98, 200, 0.12);
}

.sign-in {
  min-height: 43px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  padding: 9px 18px;
  border-radius: 999px;

  color: #ffffff;
  text-decoration: none;
  font-weight: 900;

  background:
    linear-gradient(135deg, #795bc2, #ae79e1);

  box-shadow:
    0 11px 24px rgba(109, 74, 175, 0.25);
}

main {
  width: calc(100% - 28px);
  max-width: var(--observer-max);

  margin: 18px auto 0;
}

.services-hero {
  position: relative;
  overflow: hidden;

  min-height: 590px;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;

  padding: clamp(35px, 5vw, 82px);

  border: 1px solid var(--observer-line);
  border-radius: var(--observer-radius-xl);

  background:
    radial-gradient(
      circle at 13% 13%,
      rgba(255, 255, 255, 0.96),
      transparent 34%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(255, 255, 255, 0.90),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(255, 225, 197, 0.92),
      rgba(255, 224, 239, 0.91) 42%,
      rgba(214, 239, 255, 0.91)
    );

  box-shadow: var(--observer-shadow);
}

.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;

  width: 470px;
  height: 220px;
  bottom: -115px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.services-hero::before {
  left: -90px;
}

.services-hero::after {
  right: -100px;
}

.hero-copy,
.hero-map {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;

  color: #7555b6;

  font-size: 0.82rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 950;
}

.services-hero h1 {
  margin: 0;

  color: #4d3975;

  font-size: clamp(3.6rem, 7vw, 7.8rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.services-hero h1 span {
  display: block;

  margin-top: 16px;

  color: #e17832;

  font-size: 0.40em;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 760px;

  margin: 25px 0 0;

  color: #5d5870;

  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 1.72;
  font-weight: 620;
}

.hero-actions {
  margin-top: 29px;

  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-map {
  display: grid;
  gap: 15px;
}

.map-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 17px;
  align-items: center;

  min-height: 112px;
  padding: 18px 21px;

  border: 1px solid var(--observer-line);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.90);

  box-shadow:
    0 14px 34px rgba(72, 52, 108, 0.11);
}

.map-icon {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border-radius: 24px;

  color: #ffffff;
  background: var(--map-color);

  box-shadow:
    0 10px 24px var(--map-soft);

  font-size: 2.4rem;
}

.map-row h2 {
  margin: 0;

  color: var(--map-color);
  font-size: 1.4rem;
}

.map-row p {
  margin: 6px 0 0;

  color: #686176;
  line-height: 1.52;
}

.map-row.request {
  --map-color: #d94f8a;
  --map-soft: rgba(217, 79, 138, 0.25);
}

.map-row.staff {
  --map-color: #e17832;
  --map-soft: rgba(225, 120, 50, 0.25);
}

.map-row.result {
  --map-color: #258bd0;
  --map-soft: rgba(37, 139, 208, 0.24);
}

.section {
  margin-top: 27px;
}

.section-heading {
  max-width: 980px;

  margin: 0 auto 29px;

  text-align: center;
}

.section-heading h2 {
  margin: 0;

  color: #4d3975;

  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  letter-spacing: -0.052em;
}

.section-heading p {
  color: var(--observer-muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(min(100%, 285px), 1fr)
    );

  gap: 18px;
}

.service-card {
  --service-color: #7257a9;
  --service-soft: rgba(142, 108, 207, 0.12);

  position: relative;
  overflow: hidden;

  min-height: 305px;

  padding: 28px;

  border: 1px solid var(--observer-line);
  border-radius: var(--observer-radius-lg);

  background: var(--observer-glass);

  box-shadow:
    0 13px 31px rgba(72, 52, 108, 0.10);
}

.service-card::after {
  content: "";

  position: absolute;

  width: 145px;
  height: 145px;

  right: -58px;
  bottom: -61px;

  border-radius: 50%;
  background: var(--service-soft);
}

.service-icon {
  width: 67px;
  height: 67px;

  display: grid;
  place-items: center;

  margin-bottom: 17px;

  border-radius: 23px;

  color: #ffffff;
  background: var(--service-color);

  box-shadow:
    0 10px 24px var(--service-soft);

  font-size: 2.25rem;
}

.service-card h3 {
  position: relative;
  z-index: 1;

  margin: 0;

  color: var(--service-color);
  font-size: 1.45rem;
}

.service-card p,
.service-card li {
  position: relative;
  z-index: 1;

  color: #696378;
  line-height: 1.62;
}

.service-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.service-card.family {
  --service-color: #d94f8a;
  --service-soft: rgba(217, 79, 138, 0.14);
}

.service-card.academy {
  --service-color: #e49a22;
  --service-soft: rgba(228, 154, 34, 0.15);
}

.service-card.craft {
  --service-color: #63ad37;
  --service-soft: rgba(99, 173, 55, 0.14);
}

.service-card.continuity {
  --service-color: #7248a7;
  --service-soft: rgba(114, 72, 167, 0.14);
}

.service-card.infrastructure {
  --service-color: #21aebb;
  --service-soft: rgba(33, 174, 187, 0.14);
}

.service-card.workforce {
  --service-color: #258bd0;
  --service-soft: rgba(37, 139, 208, 0.14);
}

.delivery-panel {
  margin-top: 27px;

  padding: clamp(28px, 4vw, 49px);

  border: 1px solid var(--observer-line);
  border-radius: var(--observer-radius-xl);

  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(255, 255, 255, 0.94),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(236, 225, 255, 0.92),
      rgba(208, 243, 255, 0.91) 53%,
      rgba(217, 249, 231, 0.91)
    );

  box-shadow: var(--observer-shadow);
}

.delivery-heading {
  max-width: 950px;
  margin: 0 auto 28px;
  text-align: center;
}

.delivery-heading h2 {
  margin: 0;

  color: #4d3975;

  font-size: clamp(2.3rem, 4.5vw, 4.15rem);
  letter-spacing: -0.052em;
}

.delivery-heading p {
  color: #626078;
  line-height: 1.7;
}

.delivery-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 10px;
  align-items: center;
}

.flow-step {
  min-height: 138px;

  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;

  padding: 17px 10px;

  text-align: center;

  border: 1px solid rgba(101, 77, 156, 0.15);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.87);

  box-shadow:
    0 9px 23px rgba(72, 52, 108, 0.08);
}

.flow-step strong {
  color: #554176;
}

.flow-step span {
  color: #6a6478;
  font-size: 0.91rem;
}

.flow-icon {
  font-size: 2rem;
}

.flow-arrow {
  color: #8f75bd;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 950;
}

.boundary-panel {
  margin-top: 27px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}

.boundary-card {
  padding: 32px;

  border: 1px solid var(--observer-line);
  border-radius: 27px;

  background: var(--observer-glass);
  box-shadow: var(--observer-shadow);
}

.boundary-card h2 {
  margin-top: 0;
  color: #4d3975;
}

.boundary-card p,
.boundary-card li {
  color: #696378;
  line-height: 1.68;
}

.boundary-card.public {
  border-top: 7px solid #67b98b;
}

.boundary-card.private {
  border-top: 7px solid #8e65bd;
}

.promise {
  margin-top: 27px;

  padding: 32px;

  text-align: center;

  border: 1px solid var(--observer-line);
  border-radius: 27px;

  background: var(--observer-glass);
  box-shadow: var(--observer-shadow);
}

.promise h2 {
  margin-top: 0;
  color: #4d3975;
}

.promise p {
  max-width: 880px;
  margin-inline: auto;

  color: #696378;
  line-height: 1.7;
}

footer {
  width: min(1050px, calc(100% - 28px));

  margin: 24px auto 40px;
  padding: 21px;

  text-align: center;

  border: 1px solid var(--observer-line);
  border-radius: 999px;

  color: #69627c;
  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    0 10px 27px rgba(71, 52, 108, 0.08);
}

footer strong {
  color: #523d7b;
}

@media (max-width: 1150px) {
  .services-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .delivery-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .boundary-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  main {
    width: calc(100% - 12px);
  }

  .brand span:last-child {
    display: none;
  }

  .site-header {
    top: 5px;
    padding: 10px;
  }

  .sign-in {
    padding-inline: 13px;
  }

  .services-hero {
    padding: 26px 17px;
    border-radius: 24px;
  }

  .services-hero h1 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .map-row {
    grid-template-columns: 62px 1fr;
    padding: 15px;
  }

  .map-icon {
    width: 58px;
    height: 58px;
    border-radius: 19px;
    font-size: 1.9rem;
  }

  footer {
    border-radius: 25px;
  }
}
