/* Service page — matches landing-page visual language */

.page-service {
  padding-top: clamp(76px, 10vw, 96px);
}


/* ---------- Hero ---------- */
.sv-hero {
  position: relative;
  margin: 0;
  color: #fff;
  background: #01032c;
  overflow: hidden;
  /* Image drives height; text overlays */
}

.sv-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.sv-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 85% at 50% 30%, rgba(0, 12, 32, 0) 0%, rgba(0, 10, 28, 0.35) 100%),
    linear-gradient(180deg, rgba(2, 12, 34, 0.38) 0%, rgba(2, 14, 38, 0.58) 52%, rgba(1, 8, 28, 0.78) 100%);
  pointer-events: none;
}

.sv-hero__inner {
  position: relative;
  z-index: 1;
  position: absolute;
  inset: 0;
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sv-hero__crumb {
  margin: 0 0 12px;
  font-size: var(--lp-fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.sv-hero__crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.sv-hero__crumb a:hover {
  text-decoration: underline;
}

.sv-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sv-hero__lead {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.sv-hero__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 640px) {
  .sv-hero__inner { text-align: center; }
  .sv-hero__lead { margin-left: auto; margin-right: auto; }
  .sv-hero__actions { justify-content: center; }
}

.sv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2.6vw, 32px);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sv-btn--primary {
  background: #fff;
  color: #0b5fff;
}

.sv-btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #0b5fff;
}

.sv-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sv-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Layout cards ---------- */
.sv-two {
  display: grid;
  gap: 22px;
  align-items: start;
}

@media (min-width: 1024px) {
  .sv-two {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 32px;
  }
}

.sv-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.sv-card__head {
  padding: 18px 18px 0;
}

.sv-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1f2937;
}

.sv-rich {
  padding: 18px;
  color: #334155;
  line-height: 1.75;
  font-size: var(--lp-fs-md);
}

.sv-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.sv-points {
  margin: 0;
  padding: 14px 18px 4px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.sv-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #334155;
  line-height: 1.55;
}

.sv-point__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.sv-mini-cta {
  padding: 0 18px 18px;
}

/* ---------- Section headings ---------- */
.sv-section-head {
  text-align: center;
  margin-bottom: 0;
}

.sv-section-title {
  margin: 0 0 var(--lp-title-bar-gap);
  font-size: var(--lp-fs-h2);
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- What we do grid ---------- */
.sv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lp-gap);
}

@media (min-width: 640px) {
  .sv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sv-tile {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: clamp(16px, 2.2vw, 24px);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sv-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(11, 95, 255, 0.22);
}

.sv-tile__icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(11, 95, 255, 0.10);
  color: #0b5fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.sv-tile__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  text-transform: uppercase;
}

.sv-tile__text {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-size: var(--lp-fs-md);
}

/* Services — mosaic layout (differs from uniform 3×2 cards) */
.sv-grid--services .sv-tile:nth-child(6) {
  grid-column: 1 / -1;
}

@media (max-width: 1023px) {
  .sv-grid--services .sv-tile:nth-child(1),
  .sv-grid--services .sv-tile:nth-child(6) {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .sv-grid--services .sv-tile:nth-child(1) .sv-tile__icon,
  .sv-grid--services .sv-tile:nth-child(6) .sv-tile__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .sv-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sv-grid--services .sv-tile:nth-child(1) {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(16px, 2.2vw, 28px);
    padding: clamp(22px, 3vw, 32px);
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 58%);
    border-left: 4px solid #0b5fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  }

  .sv-grid--services .sv-tile:nth-child(1) .sv-tile__icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
    margin-bottom: 0;
    border-radius: 16px;
    flex-shrink: 0;
  }

  .sv-grid--services .sv-tile:nth-child(3),
  .sv-grid--services .sv-tile:nth-child(5) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }

  .sv-grid--services .sv-tile:nth-child(6) {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 36px);
    background: linear-gradient(90deg, rgba(11, 95, 255, 0.1) 0%, #ffffff 38%, #ffffff 100%);
    border: 1px solid rgba(11, 95, 255, 0.2);
  }

  .sv-grid--services .sv-tile:nth-child(6) .sv-tile__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ---------- Process (1-6) ---------- */
.sv-process {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lp-gap);
  position: relative;
}

@media (min-width: 1024px) {
  .sv-process {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .sv-process::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 20px; /* center of 40px circle */
    height: 2px;
    background: rgba(11, 95, 255, 0.35);
  }
}

.sv-proc {
  text-align: center;
  position: relative;
  padding-top: 0;
}

.sv-proc__num {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  margin: 0 auto 12px;
  background: #0b5fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.sv-proc__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sv-proc__text {
  color: #475569;
  line-height: 1.6;
  font-size: var(--lp-fs-md);
}

@media (max-width: 1023px) {
  .sv-proc {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .sv-proc__num {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Trust — stepped list (distinct from service cards) ---------- */
.sv-trust--steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  counter-reset: sv-trust-step;
}

.sv-trust--steps .sv-trust__item {
  counter-increment: sv-trust-step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(2, 6, 23, 0.07);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.6vw, 26px);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.sv-trust--steps .sv-trust__item:hover {
  box-shadow: 0 14px 38px rgba(11, 95, 255, 0.14);
  transform: translateX(3px);
}

.sv-trust--steps .sv-trust__item:nth-child(even) {
  background: linear-gradient(105deg, #f1f5f9 0%, #ffffff 45%);
}

.sv-trust--steps .sv-trust__step {
  align-self: start;
  width: 2.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(11, 95, 255, 0.3);
  letter-spacing: -0.03em;
  padding-top: 4px;
}

.sv-trust--steps .sv-trust__step::before {
  content: counter(sv-trust-step, decimal-leading-zero);
}

.sv-trust--steps .sv-trust__body {
  min-width: 0;
}

.sv-trust--steps .sv-trust__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(11, 95, 255, 0.16) 0%, rgba(29, 78, 216, 0.07) 100%);
  color: #0b5fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin: 0;
}

.sv-trust--steps .sv-trust__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
  text-transform: uppercase;
}

.sv-trust--steps .sv-trust__text {
  color: #475569;
  line-height: 1.65;
  font-size: var(--lp-fs-md);
}

@media (max-width: 520px) {
  .sv-trust--steps .sv-trust__item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .sv-trust--steps .sv-trust__icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .sv-trust--steps .sv-trust__body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .sv-trust--steps .sv-trust__step {
    grid-column: 1;
    grid-row: 1;
  }
}

/* ---------- CTA (blue) ---------- */
.sv-cta2 {
  background: linear-gradient(180deg, #0b5fff 0%, #01032c 100%);
  border-radius: 0;
  padding: clamp(26px, 4vw, 64px) 0;
  box-shadow: none;
  color: #fff;
  text-align: center;
}

.sv-cta2__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sv-cta2__text {
  margin: 0 auto 16px;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  font-size: var(--lp-fs-md);
}

.sv-cta2__actions {
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------
   1920+ scaling (match homepage linear scale)
------------------------------------------------------------ */
@media (min-width: 1921px) {
  .sv-hero__title {
    font-size: calc(1.6vw + 12px);
    line-height: 1.18;
  }

  .sv-section-title,
  .sv-cta2__title {
    font-size: calc(1.1vw + 10px);
  }

  .sv-tile__title,
  .sv-proc__title,
  .sv-trust__title {
    font-size: calc(0.5vw + 14px);
  }

  .sv-tile__text,
  .sv-proc__text,
  .sv-trust__text,
  .sv-cta2__text {
    font-size: calc(0.4vw + 10px);
    line-height: 1.75;
  }

  .sv-card__title {
    font-size: calc(0.5vw + 14px);
  }

  .sv-rich {
    font-size: calc(0.4vw + 10px);
  }

  .sv-grid,
  .sv-process,
  .sv-trust {
    gap: var(--lp-gap);
  }

  /* Service page: make big-screen typography a bit larger */
  .sv-section-title,
  .sv-cta2__title {
    font-size: calc(1.25vw + 10px);
  }

  .sv-tile__title,
  .sv-proc__title,
  .sv-trust__title {
    font-size: calc(0.6vw + 14px);
  }

  .sv-tile__text,
  .sv-proc__text,
  .sv-trust__text,
  .sv-cta2__text,
  .sv-rich {
    font-size: calc(0.5vw + 10px);
  }

  /* Trust block small text: make it larger */
  .sv-trust--steps .sv-trust__text {
    font-size: calc(0.65vw + 9px);
    line-height: 1.8;
  }

  /* Keep process/service descriptions consistent */
  .sv-proc__text,
  .sv-tile__text {
    font-size: calc(0.6vw + 9px);
    line-height: 1.8;
  }

  /* CTA (bottom) — make text + button larger on big screens */
  .sv-cta2__title {
    font-size: calc(1.5vw + 12px);
    margin-bottom: calc(0.3vw + 10px);
  }

  .sv-cta2__text {
    font-size: calc(0.65vw + 10px);
    margin-bottom: calc(0.5vw + 14px);
  }

  #svCta .sv-btn {
    font-size: calc(0.55vw + 12px);
    padding: calc(0.35vw + 10px) calc(0.9vw + 18px);
    border-radius: calc(0.25vw + 10px);
  }

  /* Only widen this block's container to 88.8888vw */
  .page-service #svTrust .container {
    max-width: 88.88888vw;
  }

  .page-service .sv-trust--steps {
    max-width: 100%;
  }

  /* Make icons + spacing feel more "4K-friendly" */
  .sv-tile {
    padding: calc(0.55vw + 14px);
    border-radius: calc(0.2vw + 12px);
  }

  .sv-tile__icon {
    width: calc(0.6vw + 34px);
    height: calc(0.6vw + 34px);
    font-size: calc(0.35vw + 14px);
  }

  .sv-proc {
    padding: calc(0.55vw + 12px);
    border-radius: calc(0.2vw + 12px);
  }

  .sv-proc__num {
    width: calc(0.6vw + 40px);
    height: calc(0.6vw + 40px);
    font-size: calc(0.4vw + 14px);
  }

  .sv-trust--steps {
    gap: calc(0.4vw + 10px);
  }

  .sv-trust--steps .sv-trust__item {
    gap: calc(0.4vw + 12px) calc(0.6vw + 12px);
    padding: calc(0.6vw + 14px) calc(0.7vw + 14px);
    border-radius: calc(0.2vw + 12px);
  }

  .sv-trust--steps .sv-trust__icon {
    width: calc(0.7vw + 42px);
    height: calc(0.7vw + 42px);
    font-size: calc(0.35vw + 14px);
    border-radius: calc(0.2vw + 14px);
  }

  .sv-trust--steps .sv-trust__step {
    width: calc(0.7vw + 36px);
    font-size: calc(0.9vw + 10px);
  }
}

