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

.ihv-editorial-section {
  --ihv-ink: #211827;
  --ihv-muted: #6c6074;
  --ihv-soft: #fff7f0;
  --ihv-line: rgba(117, 74, 107, 0.16);
  --ihv-shadow: 0 18px 45px rgba(61, 35, 74, 0.1);
  --ihv-shadow-hover: 0 28px 70px rgba(61, 35, 74, 0.18);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ihv-ink);
}

.ihv-editorial-section *,
.ihv-editorial-section *::before,
.ihv-editorial-section *::after {
  box-sizing: border-box;
}

.ihv-editorial-section .ihv-section,
.ihv-editorial-section .ihv-container,
.ihv-editorial-section .ihv-grid {
  width: 100%;
  max-width: 100%;
}

.ihv-editorial-section .ihv-section {
  padding: 86px 22px;
  overflow: hidden;
}

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

.ihv-editorial-section .ihv-section-warm {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 148, 114, 0.18), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(166, 91, 255, 0.13), transparent 30%),
    linear-gradient(135deg, #fff7f0 0%, #fffaf6 52%, #f8f2ff 100%);
}

.ihv-editorial-section .ihv-container {
  max-width: 1320px;
  margin: 0 auto;
}

.ihv-editorial-section .ihv-heading-wrap {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.ihv-editorial-section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 820;
  color: var(--ihv-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ihv-editorial-section h2 span {
  background: linear-gradient(135deg, #f04f86 0%, #b155ff 46%, #ff8a4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ihv-editorial-section .ihv-heading-wrap p {
  margin: 14px auto 0;
  max-width: 680px;
  color: var(--ihv-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ihv-editorial-section .ihv-card {
  --ihv-accent: #f04f86;
  --ihv-accent-2: #ff8a4c;
  --ihv-glow: rgba(240, 79, 134, 0.16);
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 255px;
  padding: 26px;
  border: 1px solid var(--ihv-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, var(--ihv-glow), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,250,247,0.86));
  box-shadow: var(--ihv-shadow);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.ihv-editorial-section .ihv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, var(--ihv-glow), transparent 34%);
  transition: opacity 260ms ease;
}

.ihv-editorial-section .ihv-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--ihv-accent), var(--ihv-accent-2));
  opacity: 0.85;
}

.ihv-editorial-section .ihv-card:nth-child(2) { --ihv-accent: #7c5cff; --ihv-accent-2: #22b8cf; --ihv-glow: rgba(124, 92, 255, 0.15); }
.ihv-editorial-section .ihv-card:nth-child(3) { --ihv-accent: #00a676; --ihv-accent-2: #77d970; --ihv-glow: rgba(0, 166, 118, 0.14); }
.ihv-editorial-section .ihv-card:nth-child(4) { --ihv-accent: #ff7a59; --ihv-accent-2: #ffd166; --ihv-glow: rgba(255, 122, 89, 0.16); }
.ihv-editorial-section .ihv-card:nth-child(5) { --ihv-accent: #3157d5; --ihv-accent-2: #6ee7f9; --ihv-glow: rgba(49, 87, 213, 0.13); }
.ihv-editorial-section .ihv-card:nth-child(6) { --ihv-accent: #d946ef; --ihv-accent-2: #fb7185; --ihv-glow: rgba(217, 70, 239, 0.13); }
.ihv-editorial-section .ihv-card:nth-child(7) { --ihv-accent: #0f9f8f; --ihv-accent-2: #f4c542; --ihv-glow: rgba(15, 159, 143, 0.13); }
.ihv-editorial-section .ihv-card:nth-child(8) { --ihv-accent: #ef476f; --ihv-accent-2: #8357eb; --ihv-glow: rgba(239, 71, 111, 0.14); }

.ihv-editorial-section .ihv-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--ihv-accent) 42%, transparent);
  box-shadow: var(--ihv-shadow-hover);
}

.ihv-editorial-section .ihv-card:hover::before {
  opacity: 1;
}

.ihv-editorial-section .ihv-grid-tilt .ihv-card:hover {
  transform: translateY(-7px) rotateX(1.2deg) rotateY(-1.2deg);
}

.ihv-editorial-section .ihv-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--ihv-accent);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), var(--ihv-glow));
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: 0 12px 26px rgba(49, 35, 68, 0.1);
  transition: transform 260ms ease, color 260ms ease, background 260ms ease;
}

.ihv-editorial-section .ihv-icon i {
  font-size: 1.28rem;
  line-height: 1;
}

.ihv-editorial-section .ihv-card:hover .ihv-icon {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  background: linear-gradient(135deg, var(--ihv-accent), var(--ihv-accent-2));
}

.ihv-editorial-section h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ihv-ink);
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: 0;
  font-weight: 760;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ihv-editorial-section h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ihv-accent), var(--ihv-accent-2));
  transition: width 260ms ease;
}

.ihv-editorial-section .ihv-card:hover h3::after {
  width: 74px;
}

.ihv-editorial-section .ihv-card p {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: var(--ihv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ihv-editorial-section .ihv-cta {
  display: inline-block;
  max-width: 100%;
  color: var(--ihv-accent) !important;
  font-weight: 720;
  opacity: 0.18;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.ihv-editorial-section .ihv-card:hover .ihv-cta {
  opacity: 1;
  transform: translateY(0);
}

.ihv-editorial-section .ihv-process-card {
  min-height: 270px;
}

.ihv-editorial-section .ihv-step {
  position: absolute;
  right: 18px;
  top: 12px;
  max-width: calc(100% - 36px);
  color: color-mix(in srgb, var(--ihv-accent) 20%, transparent);
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 260ms ease, color 260ms ease;
}

.ihv-editorial-section .ihv-process-card:hover .ihv-step {
  transform: translateY(-3px) scale(1.04);
  color: color-mix(in srgb, var(--ihv-accent) 30%, transparent);
}

@media (min-width: 1200px) {
  .ihv-editorial-section .ihv-container {
    max-width: 1320px;
  }

  .ihv-editorial-section .ihv-section {
    padding: 92px 28px;
  }

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

@media (min-width: 1024px) and (max-width: 1199px) {
  .ihv-editorial-section .ihv-section {
    padding: 78px 24px;
  }

  .ihv-editorial-section .ihv-container {
    max-width: 1080px;
  }

  .ihv-editorial-section .ihv-heading-wrap {
    margin-bottom: 34px;
  }

  .ihv-editorial-section .ihv-heading-wrap p {
    font-size: 0.99rem;
  }

  .ihv-editorial-section .ihv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .ihv-editorial-section .ihv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ihv-editorial-section .ihv-section {
    padding: 66px 20px;
  }

  .ihv-editorial-section .ihv-heading-wrap {
    margin-bottom: 30px;
  }

  .ihv-editorial-section .ihv-heading-wrap p {
    font-size: 0.96rem;
  }

  .ihv-editorial-section .ihv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ihv-editorial-section .ihv-card {
    padding: 23px;
    min-height: 235px;
  }

  .ihv-editorial-section h3 {
    font-size: 1.02rem;
  }

  .ihv-editorial-section .ihv-card p {
    font-size: 0.93rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ihv-editorial-section .ihv-section {
    padding: 54px 16px;
  }

  .ihv-editorial-section .ihv-heading-wrap {
    margin-bottom: 26px;
  }

  .ihv-editorial-section .ihv-heading-wrap p {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .ihv-editorial-section .ihv-grid {
    grid-template-columns: 1fr !important;
    gap: 17px;
  }

  .ihv-editorial-section .ihv-card {
    padding: 22px;
    min-height: auto;
    border-radius: 20px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ihv-editorial-section .ihv-section {
    padding: 46px 14px;
  }

  .ihv-editorial-section .ihv-heading-wrap {
    margin-bottom: 22px;
  }

  .ihv-editorial-section .ihv-heading-wrap p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .ihv-editorial-section .ihv-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .ihv-editorial-section .ihv-card {
    padding: 19px;
    min-height: auto;
    border-radius: 18px;
  }

  .ihv-editorial-section .ihv-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    margin-bottom: 17px;
  }

  .ihv-editorial-section .ihv-icon i {
    font-size: 1.12rem;
  }

  .ihv-editorial-section h3 {
    font-size: 0.99rem;
  }

  .ihv-editorial-section .ihv-card p {
    font-size: 0.9rem;
  }

  .ihv-editorial-section .ihv-step {
    font-size: 3.25rem;
  }
}

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

  .ihv-editorial-section .ihv-heading-wrap {
    margin-bottom: 20px;
  }

  .ihv-editorial-section .ihv-heading-wrap p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .ihv-editorial-section .ihv-grid {
    grid-template-columns: 1fr !important;
    gap: 13px;
  }

  .ihv-editorial-section .ihv-card {
    padding: 17px;
    min-height: auto;
    border-radius: 17px;
  }

  .ihv-editorial-section .ihv-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin-bottom: 15px;
  }

  .ihv-editorial-section .ihv-icon i {
    font-size: 1.04rem;
  }

  .ihv-editorial-section h3 {
    font-size: 0.96rem;
  }

  .ihv-editorial-section .ihv-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .ihv-editorial-section .ihv-step {
    right: 14px;
    top: 10px;
    font-size: 2.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihv-editorial-section .ihv-card,
  .ihv-editorial-section .ihv-card::before,
  .ihv-editorial-section .ihv-icon,
  .ihv-editorial-section h3::after,
  .ihv-editorial-section .ihv-cta,
  .ihv-editorial-section .ihv-step {
    transition: none;
  }

  .ihv-editorial-section .ihv-card:hover,
  .ihv-editorial-section .ihv-grid-tilt .ihv-card:hover,
  .ihv-editorial-section .ihv-card:hover .ihv-icon,
  .ihv-editorial-section .ihv-process-card:hover .ihv-step {
    transform: none;
  }
}