.sm-hero {
  position: relative;
  min-height: 100vh;
  color: var(--sm-white);
  display: flex;
  align-items: flex-end;
  padding: 0 0 180px;
}

.sm-hero__media {
  position: absolute;
  inset: 0;
}

.sm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.28) 100%);
}

.sm-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  width: min(var(--sm-container), calc(100% - var(--sm-gutter) * 2));
}

.sm-hero__title {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.sm-hero__sub {
  margin-top: 22px;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

.sm-hero__cta {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(48, 38, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--sm-white);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: none;
  padding: 22px;
}

.sm-hero__cta span {
  max-width: 9ch;
}

.sm-offer-band {
  background-color: var(--sm-olive);
  background-image: url('../../img/offer-band-shape.svg'), linear-gradient(130deg, var(--e-global-color-primary, var(--sm-accent)) 0%, var(--e-global-color-secondary, var(--sm-olive)) 100%);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover, auto;
  overflow-x: hidden;
  container-type: inline-size;
}

.sm-about {
  position: relative;
  padding-top: var(--sm-section);
  padding-bottom: 56px;
  isolation: isolate;
}

.sm-about::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 62%;
  background: var(--sm-white);
  z-index: 0;
}

.sm-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 52px;
}

.sm-about__intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.sm-about__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a94;
}

.sm-about__title {
  color: var(--sm-navy);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  max-width: 11ch;
}

.sm-about__copy {
  padding-top: 42px;
}

.sm-about__lead {
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--sm-navy);
}

.sm-about__copy p:not(.sm-about__lead) {
  color: var(--sm-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sm-btn--team {
  width: max-content;
  text-transform: none;
  letter-spacing: 0;
  gap: 14px;
  min-height: 50px;
  padding: 4px 6px 4px 20px;
  border: 1px solid var(--sm-border);
  background: var(--sm-white);
  color: var(--sm-navy);
  font-size: 0.95rem;
}

.sm-btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sm-accent);
  color: var(--sm-navy);
}

.sm-about__stage {
  position: relative;
}

.sm-about__media {
  --sm-about-radius: 40px;
  --sm-notch-w: 128px;
  --sm-notch-h: 78px;
  --sm-notch-r: 28px;
  position: relative;
  overflow: hidden;
  border-radius: 0 var(--sm-about-radius) var(--sm-about-radius) var(--sm-about-radius);
  aspect-ratio: 16 / 7.4;
  background: #ddd;
}

.sm-about__notch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--sm-notch-w);
  height: var(--sm-notch-h);
  background: var(--sm-white);
  border-bottom-right-radius: var(--sm-notch-r);
  pointer-events: none;
}

.sm-about__notch::before,
.sm-about__notch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 100% 100%, transparent 21px, var(--sm-white) 22px);
}

.sm-about__notch::before {
  top: 0;
  right: -22px;
}

.sm-about__notch::after {
  left: 0;
  bottom: -22px;
}

.sm-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-stats {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(420px, 46%);
}

.sm-stat {
  position: relative;
  padding: 24px 22px 20px;
  background: var(--sm-white);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.1);
}

.sm-stat:first-child {
  grid-column: 1 / -1;
}

.sm-stat__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--sm-navy);
}

.sm-stat__value {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sm-stat__value span {
  color: var(--sm-accent);
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 1px;
}

.sm-stat__label {
  margin-top: 10px;
  color: var(--sm-muted);
  font-size: 0.9rem;
}

.sm-services {
  --sm-services-gap: 24px;
  --sm-services-inner: min(var(--sm-container), calc(100cqi - var(--sm-gutter) * 2));
  --sm-services-inset: max(var(--sm-gutter), calc((100cqi - var(--sm-services-inner)) / 2));
  --sm-services-col: calc((var(--sm-services-inner) - var(--sm-services-gap) * 2) / 3);
  padding-top: 48px;
  padding-bottom: 108px;
  color: var(--sm-white);
}

.sm-services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.sm-services__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--sm-accent);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sm-accent);
}

.sm-services__title {
  color: var(--sm-white);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  max-width: 16ch;
}

.sm-services__tools {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.sm-services__all {
  color: var(--sm-white);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 2px solid var(--sm-accent);
  padding-bottom: 2px;
}

.sm-services__nav {
  display: flex;
  gap: 10px;
}

.sm-services__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--sm-white);
}

.sm-services__arrow.is-next {
  background: var(--sm-white);
  border-color: var(--sm-white);
  color: var(--sm-navy);
}

.sm-services__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.sm-services__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.sm-services__tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--sm-white);
  font-size: 0.88rem;
  font-weight: 700;
}

.sm-services__tab.is-active {
  background: var(--sm-accent);
  border-color: var(--sm-accent);
  color: var(--sm-navy);
}

.sm-services__panel {
  display: none;
}

.sm-services__panel.is-active {
  display: block;
}

.sm-services__scroller {
  overflow: hidden;
}

.sm-services__track {
  display: flex;
  gap: var(--sm-services-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--sm-services-inset);
  padding-left: var(--sm-services-inset);
  padding-right: var(--sm-gutter);
  scrollbar-width: none;
}

.sm-services__track::-webkit-scrollbar {
  display: none;
}

.sm-service-card {
  flex: 0 0 var(--sm-services-col);
  scroll-snap-align: start;
  background: var(--sm-white);
  color: var(--sm-navy);
  border-radius: 32px;
  padding: 14px 14px 28px;
}

.sm-service-card__link {
  display: block;
  color: inherit;
}

.sm-service-card__visual {
  position: relative;
}

.sm-service-card__media {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  background: var(--sm-surface);
}

.sm-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-service-card__go {
  position: absolute;
  right: 14px;
  bottom: -18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sm-accent);
  color: var(--sm-navy);
}

.sm-service-card__body {
  padding: 28px 10px 0;
}

.sm-service-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.sm-service-card p {
  color: var(--sm-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sm-projects {
  --sm-project-card-h: min(38rem, 68vh);
  --sm-project-sticky-top: calc(var(--sm-header-h) + 24px);
  position: relative;
  z-index: 1;
  padding-top: var(--sm-section);
  padding-bottom: 48px;
  background: var(--sm-surface);
  color: var(--sm-navy);
}

.sm-projects__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sm-projects__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: var(--sm-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sm-navy);
}

.sm-projects__title {
  margin-inline: auto;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.05;
}

.sm-projects__stack {
  position: relative;
  width: min(var(--sm-container), calc(100% - var(--sm-gutter) * 2));
  margin-inline: auto;
  padding-bottom: 80px;
}

.sm-project-panel {
  position: sticky;
  top: var(--sm-project-sticky-top);
  z-index: var(--z, 1);
  margin: 0;
}

.sm-project-panel.is-covered .sm-project-panel__pin {
  pointer-events: none;
}

.sm-project-feature {
  position: relative;
  height: var(--sm-project-card-h);
  will-change: transform;
  transform-origin: center center;
}

.sm-project-feature__media {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #ddd;
}

.sm-project-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-project-feature__sheet {
  --sm-cut: 26px;
  --sm-cut-inset: 14px;
  position: absolute;
  top: 50%;
  right: 28px;
  z-index: 2;
  width: min(400px, 42%);
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 40px rgba(17, 17, 17, 0.12));
}

.sm-project-feature__card {
  padding: 28px 28px 36px;
  background: var(--sm-white);
  border-radius: 28px;
  -webkit-mask-image: radial-gradient(circle var(--sm-cut) at calc(100% - var(--sm-cut-inset) - var(--sm-cut)) calc(100% - var(--sm-cut-inset) - var(--sm-cut)), transparent calc(var(--sm-cut) - 0.5px), #000 var(--sm-cut));
  mask-image: radial-gradient(circle var(--sm-cut) at calc(100% - var(--sm-cut-inset) - var(--sm-cut)) calc(100% - var(--sm-cut-inset) - var(--sm-cut)), transparent calc(var(--sm-cut) - 0.5px), #000 var(--sm-cut));
}

.sm-project-feature__status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sm-accent);
  color: var(--sm-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sm-project-feature__name {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.sm-project-feature__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 16px 0 14px;
  background: var(--sm-border);
}

.sm-project-feature__text {
  color: var(--sm-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sm-project-feature__place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--sm-muted);
  font-size: 0.9rem;
}

.sm-project-feature__go {
  position: absolute;
  right: var(--sm-cut-inset);
  bottom: var(--sm-cut-inset);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sm-accent);
  color: var(--sm-navy);
}

.sm-testimonials {
  padding-top: var(--sm-section);
  padding-bottom: var(--sm-section);
  background: var(--sm-surface);
}

.sm-testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.sm-testimonials__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf3c4;
  color: var(--sm-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-testimonials__title {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
}

.sm-testimonials__rating {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.sm-testimonials__score {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.sm-testimonials__rule {
  display: block;
  width: 1px;
  height: 52px;
  background: var(--sm-border);
}

.sm-testimonials__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
  color: #f0a202;
}

.sm-testimonials__count {
  color: var(--sm-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.sm-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sm-quote {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--sm-white);
  border-radius: 28px;
}

.sm-quote__mark {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sm-accent);
  color: var(--sm-navy);
}

.sm-quote p {
  margin: 0 56px 22px 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
}

.sm-quote__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: var(--sm-border);
}

.sm-quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-quote footer span {
  color: var(--sm-muted);
  font-size: 0.9rem;
}

.sm-clients {
  margin-top: 48px;
}

.sm-clients__label {
  text-align: center;
  color: var(--sm-muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.sm-clients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
}

.sm-clients__name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  opacity: 0.35;
}

.sm-contact {
  padding-top: var(--sm-section);
  padding-bottom: 0;
  background: var(--sm-white);
}

.sm-contact__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
}

.sm-contact__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sm-navy);
}

.sm-contact__title {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.05;
}

.sm-contact__phone {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.sm-contact__phone-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sm-accent);
  color: var(--sm-navy);
  flex-shrink: 0;
}

.sm-contact__phone p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-contact__phone p span {
  color: var(--sm-muted);
  font-size: 0.88rem;
}

.sm-contact__phone a {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sm-contact__form-wrap {
  padding-top: 8px;
}

.sm-contact__lead {
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.55;
}

.sm-contact .sm-form {
  gap: 14px;
}

.sm-contact .sm-form label {
  font-weight: 400;
}

.sm-contact .sm-form input,
.sm-contact .sm-form select {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  padding: 14px 18px;
  background: var(--sm-surface);
  color: var(--sm-navy);
}

.sm-contact .sm-form input::placeholder {
  color: #9a9a94;
}

.sm-contact__form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.sm-contact .sm-form__note {
  grid-column: auto;
  margin: 0;
  max-width: 28ch;
}

.sm-contact .sm-form button {
  grid-column: auto;
}

.sm-contact__submit {
  gap: 12px;
  min-height: 52px;
  padding: 4px 6px 4px 20px;
  background: var(--sm-accent);
  color: var(--sm-navy);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.sm-contact__submit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sm-white);
  color: var(--sm-navy);
}

.sm-contact__stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 2.35 / 1;
  min-height: 320px;
  background: #1a1a18;
}

.sm-contact__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-contact__notch {
  position: absolute;
  top: 0;
  left: 32%;
  right: 0;
  z-index: 1;
  height: 88px;
  background: var(--sm-white);
  border-bottom-left-radius: 40px;
  pointer-events: none;
}

.sm-contact__notch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -28px;
  width: 28px;
  height: 28px;
  transform: scaleX(-1);
  background: radial-gradient(circle at 100% 100%, transparent 27px, var(--sm-white) 28px);
}

@media (max-width: 980px) {
  .sm-hero__inner,
  .sm-about__intro,
  .sm-about__inner,
  .sm-testimonials__grid,
  .sm-contact__inner,
  .sm-stats {
    grid-template-columns: 1fr;
  }

  .sm-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-hero {
    padding-bottom: 140px;
  }

  .sm-hero__cta {
    align-self: flex-end;
    width: 128px;
    height: 128px;
  }

  .sm-about__copy {
    padding-top: 0;
  }

  .sm-stats {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .sm-about__notch {
    width: 72px;
    height: 48px;
  }

  .sm-services__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-services__title {
    max-width: none;
  }

  .sm-services {
    --sm-services-col: calc((var(--sm-services-inner) - var(--sm-services-gap)) / 2);
  }

  .sm-project-panel {
    position: relative;
    top: auto;
  }

  .sm-project-feature {
    height: auto;
    transform: none;
    margin-bottom: 24px;
  }

  .sm-project-feature__media {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .sm-project-feature__sheet {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: -64px 16px 0;
    transform: none;
  }

  .sm-testimonials__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-testimonials__title {
    max-width: none;
  }

  .sm-contact__form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-contact__stage {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }

  .sm-contact__notch {
    left: 42%;
    height: 56px;
  }
}

@media (max-width: 640px) {
  .sm-services {
    --sm-services-col: var(--sm-services-inner);
  }
}
