/* ==========================================================================
   Services page
   ========================================================================== */

.btn--olive {
  background: var(--color-olive);
  color: var(--color-white);
  min-width: 177px;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-black);
  min-width: 254px;
}

/* Hero */
.svc-hero {
  position: relative;
  min-height: 830px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x) 100px;
  color: var(--color-white);
  overflow: hidden;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
}

.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-hero__panel {
  position: relative;
  z-index: 1;
  width: min(1096px, 100%);
  background: rgba(79, 82, 63, 0.8);
  padding: 80px 60px;
  text-align: center;
}

.svc-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.svc-hero__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  max-width: 758px;
  margin: 0 auto;
}

.svc-hero__cta {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  align-self: flex-end;
  margin-right: max(0px, calc((100% - 1440px) / 2 + 70px));
}

/* Essential */
.svc-essential {
  position: relative;
  margin-top: -40px;
  background: var(--color-white);
  border-radius: 100px 100px 0 0;
  box-shadow: 0 -10px 4px rgba(0, 0, 0, 0.15);
  padding: 90px 0 60px;
  z-index: 2;
}

.svc-essential__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.svc-essential__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  margin-bottom: 20px;
}

.svc-essential__lead {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  max-width: 896px;
  margin: 0 auto 28px;
}

.svc-essential__book {
  margin-bottom: 48px;
}

.svc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  text-align: left;
}

.svc-card {
  display: grid;
  grid-template-columns: 331px 1fr;
  min-height: 259px;
  background: linear-gradient(270deg, #efefef 0%, #fff 59%);
  overflow: hidden;
}

.svc-card__media {
  min-height: 259px;
}

.svc-card__media img {
  width: 100%;
  height: 100%;
  min-height: 259px;
  object-fit: cover;
}

.svc-card__body {
  position: relative;
  padding: 48px 28px 28px 44px;
}

.svc-card__num {
  position: absolute;
  left: 12px;
  top: 48px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  color: #374a27;
}

.svc-card__body h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 12px;
}

.svc-card__body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  max-width: 216px;
}

/* Values */
.svc-values {
  background: #f5f4f0;
  padding: 64px 0;
}

.svc-values__inner {
  max-width: 1251px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.svc-values__item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}

.svc-values__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.svc-values__item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.svc-values__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
}

.svc-values__item p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.35;
  max-width: 220px;
}

/* iGUIDE */
.svc-iguide {
  padding: 80px 0 60px;
  background: var(--color-white);
  text-align: center;
}

.svc-iguide__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.svc-iguide__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  padding: 10px 40px;
  background: linear-gradient(90deg, #fff, #c3c3c3 49%, #fff);
  margin-bottom: 24px;
}

.svc-iguide__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.svc-iguide__lead {
  font-family: var(--font-display);
  font-size: 22px;
  max-width: 824px;
  margin: 0 auto 40px;
  line-height: 1.35;
}

.svc-iguide__visual {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 36px;
  min-height: 520px;
}

.svc-iguide__laptop {
  position: relative;
  width: min(964px, 100%);
  margin: 0 auto;
}

.svc-iguide__laptop-frame {
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.svc-iguide__screen {
  position: absolute;
  left: 14.92%;
  top: 9.02%;
  width: 70.03%;
  height: 55.8%;
  z-index: 1;
  overflow: hidden;
  background: #111;
  border-radius: 2px;
}

.svc-iguide__screen img,
.svc-iguide__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  background: #111;
}

.svc-iguide__video {
  pointer-events: none;
}

.svc-iguide__brand {
  position: absolute;
  left: 16.2%;
  top: 10.2%;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  font-family: Arial, sans-serif;
  font-size: 24px;
  z-index: 3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.svc-iguide__brand img {
  width: 21px;
  height: auto;
}

.svc-iguide__brand sup {
  font-size: 12px;
}

.svc-iguide__pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 162, 134, 0.2);
  border-radius: 64px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  padding: 14px 22px;
  color: var(--color-black);
  max-width: 280px;
}

.svc-iguide__pill--l1 { left: 0; top: 12%; }
.svc-iguide__pill--l2 { left: -2%; top: 40%; }
.svc-iguide__pill--r1 { right: 0; top: 16%; }
.svc-iguide__pill--r2 { right: -1%; top: 58%; }
.svc-iguide__pill--r3 { right: 0; top: 78%; }

.svc-iguide__cta {
  margin-bottom: 36px;
  min-width: 199px;
}

.svc-iguide__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
  color: #343434;
  max-width: 1080px;
  margin: 0 auto;
}

/* Creative grid */
.svc-creative__grid {
  display: grid;
  grid-template-columns: 656fr 333fr 451fr;
  grid-template-rows: 267px 93px 324px;
  min-height: 684px;
}

.svc-creative__hero {
  grid-row: 1 / 4;
  position: relative;
  overflow: hidden;
  background: #d9d9d9;
}

.svc-creative__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-creative__overlay {
  position: absolute;
  left: 51px;
  top: 18px;
  width: min(439px, 85%);
  padding: 20px 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(195, 195, 195, 0.3) 49%, rgba(255, 255, 255, 0.3));
}

.svc-creative__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}

.svc-creative__overlay h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 45px;
}

.svc-creative__tile {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.svc-creative__tile h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 28px;
  color: #3c3c3c;
}

.svc-creative__tile p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.35;
  max-width: 345px;
}

.svc-creative__tile--staging {
  background: #f8f2b7;
  grid-column: 2;
  grid-row: 1;
}

.svc-creative__tile--dusk {
  background: #edc567;
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--color-white);
  text-align: right;
  align-items: flex-end;
}

.svc-creative__tile--dusk h3,
.svc-creative__tile--edit h3 {
  color: var(--color-white);
}

.svc-creative__tile--render {
  background: #c0c5a3;
  grid-column: 2;
  grid-row: 2 / 4;
}

.svc-creative__tile--edit {
  background: #73775e;
  grid-column: 3;
  grid-row: 3;
  color: var(--color-white);
  text-align: right;
  align-items: flex-end;
}

/* Process */
.svc-process {
  padding: 100px 0 80px;
  background: var(--color-white);
  text-align: center;
}

.svc-process__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

.svc-process__watermark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  text-transform: lowercase;
  background: linear-gradient(180deg, rgba(132, 132, 132, 0.35), rgba(202, 195, 195, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -20px;
}

.svc-process__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 16px;
}

.svc-process__lead {
  font-family: var(--font-display);
  font-size: 22px;
  max-width: 579px;
  margin: 0 auto 56px;
  line-height: 1.35;
}

.svc-process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: none;
  position: relative;
}

.svc-process__step {
  text-align: left;
  position: relative;
}

.svc-process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 78px;
  right: -12px;
  height: 2px;
  background: #cfcfcf;
}

.svc-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e8e8e8;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.svc-process__step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 8px;
}

.svc-process__step p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
  max-width: 153px;
}

/* Feature video */
.svc-feature-video {
  position: relative;
  height: 692px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.svc-feature-video__bg,
.svc-feature-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  background: #111;
}

.svc-feature-video__play {
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.svc-feature-video__play img {
  width: 76px;
  height: 76px;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.svc-feature-video__play:hover {
  transform: scale(1.06);
}

.svc-feature-video.is-playing .svc-feature-video__play {
  opacity: 0;
  pointer-events: none;
}

/* CTA */
.svc-cta {
  position: relative;
  margin-top: -40px;
  border-radius: 100px 100px 0 0;
  overflow: hidden;
  background: #262626;
  color: var(--color-white);
  z-index: 2;
}

.svc-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px var(--pad-x) 100px;
}

.svc-cta__inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 55px);
  margin-bottom: 20px;
}

.svc-cta__inner p {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 36px;
}

/* Responsive */
@media (max-width: 1100px) {
  .svc-hero__cta {
    align-self: center;
    margin-right: 0;
  }

  .svc-cards {
    grid-template-columns: 1fr;
  }

  .svc-values__inner {
    grid-template-columns: 1fr 1fr;
  }

  .svc-values__item::after {
    display: none !important;
  }

  .svc-iguide__pill {
    position: static;
    margin: 8px;
  }

  .svc-iguide__visual {
    min-height: 0;
  }

  .svc-creative__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .svc-creative__hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .svc-creative__tile--staging,
  .svc-creative__tile--dusk,
  .svc-creative__tile--render,
  .svc-creative__tile--edit {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .svc-process__steps {
    grid-template-columns: 1fr 1fr;
  }

  .svc-process__step::after {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .svc-essential {
    border-radius: 40px 40px 0 0;
    padding-top: 60px;
  }

  .svc-card {
    grid-template-columns: 1fr;
  }

  .svc-card__media {
    min-height: 200px;
  }

  .svc-card__media img {
    min-height: 200px;
  }

  .svc-values__inner {
    grid-template-columns: 1fr;
  }

  .svc-creative__grid {
    grid-template-columns: 1fr;
  }

  .svc-creative__tile--dusk,
  .svc-creative__tile--edit {
    text-align: left;
    align-items: flex-start;
  }

  .svc-creative__overlay h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .svc-process__steps {
    grid-template-columns: 1fr;
  }

  .svc-feature-video {
    height: 360px;
  }

  .svc-cta {
    border-radius: 40px 40px 0 0;
  }

  .svc-cta__inner {
    padding: 80px 20px;
  }

  .svc-hero {
    min-height: 560px;
    padding: 80px 20px 60px;
  }

  .svc-hero__panel {
    padding: 48px 24px;
  }
}
