@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

.tprv-editorial-block,
.tprv-editorial-block * {
  box-sizing: border-box;
}

.tprv-editorial-block {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #fff;
}

.tprv-editorial-block .tprv-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.tprv-editorial-block .tprv-section-white {
  background: #fff;
}

.tprv-editorial-block .tprv-section-warm {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 122, 89, 0.12), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(31, 111, 235, 0.1), transparent 28%),
    linear-gradient(180deg, #fff8f2 0%, #fffaf6 45%, #ffffff 100%);
}

.tprv-editorial-block .tprv-container {
  width: min(100%, 1240px);
  max-width: 100%;
  margin: 0 auto;
  padding: 96px 28px;
}

.tprv-editorial-block .tprv-section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.tprv-editorial-block .tprv-section-head h2 {
  margin: 0;
  color: #182033;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-section-head h2 span {
  background: linear-gradient(135deg, #ff6f3c 0%, #d93d7c 45%, #3168df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tprv-editorial-block .tprv-section-head p {
  margin: 14px auto 0;
  color: #5e6878;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tprv-editorial-block .tprv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --tprv-accent: #ff6f3c;
  --tprv-accent-2: #3168df;
  --tprv-soft: rgba(255, 111, 60, 0.12);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 255px;
  padding: 26px;
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.88));
  box-shadow: 0 16px 40px rgba(24, 32, 51, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  overflow: hidden;
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.tprv-editorial-block .tprv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tprv-accent) 14%, transparent), transparent 44%),
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--tprv-accent-2) 16%, transparent), transparent 32%);
  opacity: 0.78;
  transition: opacity 260ms ease;
}

.tprv-editorial-block .tprv-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--tprv-accent), var(--tprv-accent-2));
  transform: scaleX(0.18);
  transform-origin: left center;
  opacity: 0.42;
  transition: transform 260ms ease, opacity 260ms ease;
}

.tprv-editorial-block .tprv-card.tprv-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(0);
}

.tprv-editorial-block .tprv-card:hover {
  border-color: color-mix(in srgb, var(--tprv-accent) 36%, rgba(23, 32, 51, 0.15));
  box-shadow: 0 24px 56px rgba(24, 32, 51, 0.14);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-6px);
}

.tprv-editorial-block .tprv-card:hover::after {
  transform: scaleX(1);
  opacity: 0.95;
}

.tprv-editorial-block .tprv-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  max-width: 100%;
  border-radius: 16px;
  color: var(--tprv-accent);
  background: linear-gradient(135deg, #fff, var(--tprv-soft));
  border: 1px solid color-mix(in srgb, var(--tprv-accent) 18%, transparent);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--tprv-accent) 16%, transparent);
  transition: transform 260ms ease, color 260ms ease, background 260ms ease;
}

.tprv-editorial-block .tprv-icon i {
  font-size: 1.24rem;
  line-height: 1;
}

.tprv-editorial-block .tprv-card:hover .tprv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--tprv-accent), var(--tprv-accent-2));
  transform: translateY(-4px) rotate(-3deg) scale(1.04);
}

.tprv-editorial-block .tprv-card h3 {
  position: relative;
  margin: 22px 0 0;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 780;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tprv-accent), var(--tprv-accent-2));
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.tprv-editorial-block .tprv-card:hover h3::after {
  transform: scaleX(1.35);
}

.tprv-editorial-block .tprv-card p {
  margin: 14px 0 0;
  color: #637083;
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-cta {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--tprv-accent);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.3;
  opacity: 0.12;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease, color 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-card:hover .tprv-cta {
  opacity: 1;
  transform: translateY(0);
  color: var(--tprv-accent-2);
}

.tprv-editorial-block .tprv-process-card {
  padding-top: 24px;
}

.tprv-editorial-block .tprv-process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  top: 8px;
  z-index: -1;
  color: color-mix(in srgb, var(--tprv-accent) 16%, transparent);
  font-size: 5.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  pointer-events: none;
}

.tprv-editorial-block .tprv-process-card:hover::before {
  transform: translateY(-4px) scale(1.04);
  opacity: 0.95;
}

.tprv-editorial-block .tprv-step-text {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--tprv-accent);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tprv-editorial-block .tprv-card:nth-child(1) { --tprv-accent: #ff6f3c; --tprv-accent-2: #3168df; --tprv-soft: rgba(255, 111, 60, 0.13); }
.tprv-editorial-block .tprv-card:nth-child(2) { --tprv-accent: #d93d7c; --tprv-accent-2: #ff8a3d; --tprv-soft: rgba(217, 61, 124, 0.12); }
.tprv-editorial-block .tprv-card:nth-child(3) { --tprv-accent: #3168df; --tprv-accent-2: #22a6b3; --tprv-soft: rgba(49, 104, 223, 0.12); }
.tprv-editorial-block .tprv-card:nth-child(4) { --tprv-accent: #0f9f7a; --tprv-accent-2: #ff6f3c; --tprv-soft: rgba(15, 159, 122, 0.12); }
.tprv-editorial-block .tprv-card:nth-child(5) { --tprv-accent: #8a5cf6; --tprv-accent-2: #d93d7c; --tprv-soft: rgba(138, 92, 246, 0.11); }
.tprv-editorial-block .tprv-card:nth-child(6) { --tprv-accent: #e09b21; --tprv-accent-2: #3168df; --tprv-soft: rgba(224, 155, 33, 0.13); }
.tprv-editorial-block .tprv-card:nth-child(7) { --tprv-accent: #ef4e5e; --tprv-accent-2: #0f9f7a; --tprv-soft: rgba(239, 78, 94, 0.11); }
.tprv-editorial-block .tprv-card:nth-child(8) { --tprv-accent: #2576a8; --tprv-accent-2: #ff6f3c; --tprv-soft: rgba(37, 118, 168, 0.12); }

@media (min-width: 1200px) {
  .tprv-editorial-block .tprv-container {
    width: min(100%, 1240px);
    padding: 104px 30px;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .tprv-editorial-block .tprv-container {
    width: min(100%, 1060px);
    padding: 88px 26px;
  }

  .tprv-editorial-block .tprv-section-head {
    margin-bottom: 36px;
  }

  .tprv-editorial-block .tprv-section-head p {
    font-size: 0.97rem;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .tprv-editorial-block .tprv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tprv-editorial-block .tprv-container {
    padding: 76px 22px;
  }

  .tprv-editorial-block .tprv-section-head {
    margin-bottom: 32px;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .tprv-editorial-block .tprv-card {
    min-height: 235px;
    padding: 22px;
  }

  .tprv-editorial-block .tprv-card h3 {
    font-size: 1.02rem;
  }

  .tprv-editorial-block .tprv-card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .tprv-editorial-block .tprv-container {
    padding: 62px 18px;
  }

  .tprv-editorial-block .tprv-section-head {
    margin-bottom: 28px;
  }

  .tprv-editorial-block .tprv-section-head p {
    font-size: 0.94rem;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .tprv-editorial-block .tprv-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 22px;
  }

  .tprv-editorial-block .tprv-cta {
    white-space: normal;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .tprv-editorial-block .tprv-container {
    padding: 54px 15px;
  }

  .tprv-editorial-block .tprv-section-head {
    margin-bottom: 24px;
  }

  .tprv-editorial-block .tprv-section-head p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .tprv-editorial-block .tprv-card {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .tprv-editorial-block .tprv-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .tprv-editorial-block .tprv-icon i {
    font-size: 1.08rem;
  }

  .tprv-editorial-block .tprv-card h3 {
    font-size: 0.98rem;
  }

  .tprv-editorial-block .tprv-card p {
    font-size: 0.88rem;
  }

  .tprv-editorial-block .tprv-process-card::before {
    font-size: 4.4rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .tprv-editorial-block .tprv-container {
    padding: 46px 12px;
  }

  .tprv-editorial-block .tprv-section-head {
    margin-bottom: 22px;
  }

  .tprv-editorial-block .tprv-section-head p {
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .tprv-editorial-block .tprv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .tprv-editorial-block .tprv-card {
    min-height: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .tprv-editorial-block .tprv-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .tprv-editorial-block .tprv-icon i {
    font-size: 1rem;
  }

  .tprv-editorial-block .tprv-card h3 {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .tprv-editorial-block .tprv-card p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .tprv-editorial-block .tprv-cta {
    font-size: 0.82rem;
  }

  .tprv-editorial-block .tprv-process-card::before {
    right: 12px;
    font-size: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tprv-editorial-block .tprv-card,
  .tprv-editorial-block .tprv-card::after,
  .tprv-editorial-block .tprv-icon,
  .tprv-editorial-block .tprv-cta,
  .tprv-editorial-block .tprv-process-card::before {
    transition: none !important;
    animation: none !important;
  }

  .tprv-editorial-block .tprv-card,
  .tprv-editorial-block .tprv-card.tprv-visible,
  .tprv-editorial-block .tprv-card:hover {
    opacity: 1;
    transform: none !important;
  }
}