/* Shared content components (all pages): scroll reveal + process arrow steps */

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Base card behaviour for steps (home.css adds the same via .home .card) */
.process .steps .step {
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s, opacity 0.8s ease;
}
.process .steps .step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s;
}
.process .steps .step:hover::before {
  opacity: 1;
}
.process .steps .step h3 {
  margin: 0;
  color: var(--ink);
  transition: color 0.35s;
}
.process .steps .step:hover h3 {
  color: #fff;
}
/* ---------- Process: interlocking arrow steps ---------- */
.process .steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  column-gap: 0;
  row-gap: 20px;
  filter: drop-shadow(0 12px 22px rgba(16, 43, 84, 0.13));
}
.process .steps .step {
  --tip: 30px;
  --notch: polygon(
    0 0,
    calc(100% - var(--tip)) 0,
    100% 50%,
    calc(100% - var(--tip)) 100%,
    0 100%,
    var(--tip) 50%
  );
  --flat-left: polygon(
    0 0,
    calc(100% - var(--tip)) 0,
    100% 50%,
    calc(100% - var(--tip)) 100%,
    0 100%
  );
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  margin: 0 0 0 -20px;
  padding: 24px calc(var(--tip) + 16px) 24px calc(var(--tip) + 24px);
  border: 0;
  border-radius: 0;
  background: #fff;
  clip-path: var(--notch);
}
.process .steps .step:nth-child(even) {
  background: #f3f6fc;
}
/* First step of each row: flat left edge */
.process .steps .step:nth-child(4n + 1) {
  margin-left: 0;
  padding-left: 28px;
  clip-path: var(--flat-left);
}
/* Final step: flat right edge (end of the journey) */
.process .steps .step:last-child {
  padding-right: 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--tip) 50%);
}
.process .steps .step::after {
  display: none;
}
.process .steps .step:hover {
  transform: translateY(-6px);
}
.step-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--blue);
  font-size: 19px;
  transition: background 0.35s, color 0.35s;
}
.process .steps .step:nth-child(even) .step-icon {
  background: #fff;
}
.process .steps .number {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 6px;
  border-radius: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.process .steps .step h3 {
  font-size: 19px;
  line-height: 1.25;
}
.process .steps .step:hover .step-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.process .steps .step:hover .number {
  background: none;
  color: #c9d5ff;
}

/* Arrows slide in from the left, one after another */
.js .process .steps .step.reveal {
  transform: translateX(-40px);
}
.js .process .steps .step.reveal.in {
  transform: none;
}
.js .process .steps .step.reveal.in:hover {
  transform: translateY(-6px);
}

/* Tablet & large phones: 2 per row */
@media (max-width: 950px) {
  .process .steps .step:nth-child(n) {
    margin-left: -20px;
    padding-left: calc(var(--tip) + 24px);
    clip-path: var(--notch);
  }
  .process .steps .step:nth-child(2n + 1) {
    margin-left: 0;
    padding-left: 28px;
    clip-path: var(--flat-left);
  }
  .process .steps .step:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--tip) 50%);
  }
}
@media (max-width: 650px) {
  .process .steps {
    row-gap: 14px;
  }
  .process .steps .step {
    --tip: 22px;
    min-height: 150px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: calc(var(--tip) + 10px);
  }
  .process .steps .step:nth-child(n) {
    margin-left: -14px;
    padding-left: calc(var(--tip) + 16px);
  }
  .process .steps .step:nth-child(2n + 1) {
    margin-left: 0;
    padding-left: 18px;
  }
  .process .steps .step:last-child {
    padding-right: 18px;
  }
  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .process .steps .step h3 {
    font-size: 16px;
  }
  .brand img, header.scrolled .brand img{
            width: 145px;
  }
  .hero-bar > .container{
            bottom: 65px;
  }
  footer::after{
  background-size: cover !important;
    background-position: center !important;
    }
.call-icon{
  display: none;
}
  }
/* Narrow phones: single column of downward arrows */
@media (max-width: 480px) {
  .process .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .process .steps .step:nth-child(n) {
    --drop: 20px;
    min-height: 0;
    margin: -12px 0 0;
    padding: calc(var(--drop) + 18px) 24px calc(var(--drop) + 14px);
    clip-path: polygon(
      0 0,
      50% var(--drop),
      100% 0,
      100% calc(100% - var(--drop)),
      50% 100%,
      0 calc(100% - var(--drop))
    );
  }
  .process .steps .step:first-child {
    margin-top: 0;
    padding-top: 22px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - var(--drop)),
      50% 100%,
      0 calc(100% - var(--drop))
    );
  }
  .process .steps .step:last-child {
    padding-bottom: 22px;
    clip-path: polygon(0 0, 50% var(--drop), 100% 0, 100% 100%, 0 100%);
  }
  .js .process .steps .step.reveal {
    transform: translateY(24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .process .steps .step.reveal {
    transform: none;
  }
}