@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");

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

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

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

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

.ttwv-editorial-block .ttwv-section-warm {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 78, 119, 0.12), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(40, 214, 216, 0.14), transparent 30%),
    linear-gradient(180deg, #fff8f7 0%, #fff3ee 48%, #fffaf7 100%);
}

.ttwv-editorial-block .ttwv-container {
  width: min(100%, 1240px);
  max-width: 100%;
  margin: 0 auto;
  padding: 86px 24px;
}

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

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

.ttwv-editorial-block .ttwv-section-head h2 span {
  background: linear-gradient(135deg, #ff315c 0%, #ff7a45 42%, #13cbd2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ttwv-editorial-block .ttwv-section-head p {
  margin: 14px auto 0;
  max-width: 680px;
  color: #66606d;
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ttwv-editorial-block .ttwv-card {
  --fg-mx: 50%;
  --fg-my: 0%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --ttwv-a: #ff315c;
  --ttwv-b: #13cbd2;
  --ttwv-soft: rgba(255, 49, 92, 0.1);

  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(31, 29, 39, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 246, 0.84));
  box-shadow: 0 14px 36px rgba(34, 24, 38, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ttwv-editorial-block .ttwv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ttwv-a) 13%, transparent), transparent 34%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ttwv-b) 16%, transparent), transparent 36%);
  opacity: 0.76;
  pointer-events: none;
}

.ttwv-editorial-block .ttwv-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ttwv-a), var(--ttwv-b));
  opacity: 0.78;
}

.ttwv-editorial-block .ttwv-card.is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0);
}

.ttwv-editorial-block .ttwv-card:hover {
  border-color: color-mix(in srgb, var(--ttwv-a) 34%, rgba(31, 29, 39, 0.12));
  box-shadow: 0 22px 58px rgba(34, 24, 38, 0.14);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-6px);
}

.ttwv-editorial-block .ttwv-icon,
.ttwv-editorial-block .ttwv-card h3,
.ttwv-editorial-block .ttwv-card p,
.ttwv-editorial-block .ttwv-cta,
.ttwv-editorial-block .ttwv-step-text {
  position: relative;
  z-index: 1;
}

.ttwv-editorial-block .ttwv-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--ttwv-a);
  background: color-mix(in srgb, var(--ttwv-a) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ttwv-a) 14%, transparent);
  transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease;
}

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

.ttwv-editorial-block .ttwv-card:hover .ttwv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--ttwv-a), var(--ttwv-b));
  transform: translateY(-3px) scale(1.04);
}

.ttwv-editorial-block .ttwv-card h3 {
  display: inline;
  margin: 0;
  color: #201d27;
  font-size: 1.05rem;
  line-height: 1.28;
  font-weight: 780;
  letter-spacing: 0;
  background-image: linear-gradient(90deg, var(--ttwv-a), var(--ttwv-b));
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 0% 2px;
  transition: background-size 0.28s ease;
}

.ttwv-editorial-block .ttwv-card:hover h3 {
  background-size: 100% 2px;
}

.ttwv-editorial-block .ttwv-card p {
  margin: 12px 0 0;
  color: #625d69;
  font-size: 0.94rem;
}

.ttwv-editorial-block .ttwv-cta {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--ttwv-a);
  font-size: 0.9rem;
  font-weight: 750;
  opacity: 0.2;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.ttwv-editorial-block .ttwv-card:hover .ttwv-cta {
  opacity: 1;
  transform: translateY(0);
  color: color-mix(in srgb, var(--ttwv-a) 76%, #111);
}

.ttwv-editorial-block .ttwv-process-card {
  min-height: 265px;
}

.ttwv-editorial-block .ttwv-process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  bottom: -18px;
  z-index: 0;
  color: color-mix(in srgb, var(--ttwv-a) 13%, transparent);
  font-size: 5.8rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

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

.ttwv-editorial-block .ttwv-step-text {
  display: inline-block;
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--ttwv-a) 72%, #222);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0;
}

.ttwv-editorial-block .ttwv-card:nth-child(1) { --ttwv-a: #ff315c; --ttwv-b: #17cbd2; }
.ttwv-editorial-block .ttwv-card:nth-child(2) { --ttwv-a: #ff7a45; --ttwv-b: #7a5cff; }
.ttwv-editorial-block .ttwv-card:nth-child(3) { --ttwv-a: #12b8c7; --ttwv-b: #ff4f8a; }
.ttwv-editorial-block .ttwv-card:nth-child(4) { --ttwv-a: #8d5cf6; --ttwv-b: #ffb344; }
.ttwv-editorial-block .ttwv-card:nth-child(5) { --ttwv-a: #0fae8c; --ttwv-b: #ff5b73; }
.ttwv-editorial-block .ttwv-card:nth-child(6) { --ttwv-a: #ec4f8f; --ttwv-b: #27c5a8; }
.ttwv-editorial-block .ttwv-card:nth-child(7) { --ttwv-a: #3b82f6; --ttwv-b: #fb7185; }
.ttwv-editorial-block .ttwv-card:nth-child(8) { --ttwv-a: #f59e0b; --ttwv-b: #06b6d4; }

@media (min-width: 1200px) {
  .ttwv-editorial-block .ttwv-container {
    width: min(100%, 1240px);
    padding: 92px 28px;
  }

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

@media (min-width: 1024px) and (max-width: 1199px) {
  .ttwv-editorial-block .ttwv-container {
    width: min(100%, 1080px);
    padding: 78px 24px;
  }

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

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

  .ttwv-editorial-block .ttwv-section-head p {
    font-size: 0.98rem;
  }
}

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

  .ttwv-editorial-block .ttwv-section-head {
    margin-bottom: 30px;
  }

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

  .ttwv-editorial-block .ttwv-card {
    min-height: 230px;
    padding: 22px;
  }

  .ttwv-editorial-block .ttwv-card h3 {
    font-size: 1rem;
  }

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

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

  .ttwv-editorial-block .ttwv-section-head {
    margin-bottom: 26px;
  }

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

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

  .ttwv-editorial-block .ttwv-card {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

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

@media (min-width: 375px) and (max-width: 429px) {
  .ttwv-editorial-block .ttwv-container {
    padding: 46px 16px;
  }

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

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

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

  .ttwv-editorial-block .ttwv-card p,
  .ttwv-editorial-block .ttwv-section-head p {
    font-size: 0.9rem;
  }

  .ttwv-editorial-block .ttwv-process-card::before {
    font-size: 4.8rem;
  }
}

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

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

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

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

  .ttwv-editorial-block .ttwv-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    margin-bottom: 14px;
  }

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

  .ttwv-editorial-block .ttwv-card h3 {
    font-size: 0.96rem;
  }

  .ttwv-editorial-block .ttwv-card p,
  .ttwv-editorial-block .ttwv-section-head p {
    font-size: 0.86rem;
  }

  .ttwv-editorial-block .ttwv-process-card::before {
    font-size: 4.2rem;
    right: 10px;
  }
}

@media (max-width: 319px) {
  .ttwv-editorial-block .ttwv-container {
    padding: 36px 10px;
  }

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

  .ttwv-editorial-block .ttwv-card {
    min-height: 0;
    padding: 16px;
  }
}

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

  .ttwv-editorial-block .ttwv-card,
  .ttwv-editorial-block .ttwv-card.is-visible,
  .ttwv-editorial-block .ttwv-card:hover {
    transform: none !important;
  }
}