.tty-intent-section {
  padding: 0 0 100px;
}

.tty-intent-section.tty-intent-quiz {
  padding: 100px 0 0px;
}


.tty-intent-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tty-intent-header {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.tty-intent-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 18px;
  padding: 9px 14px;
  border: 1px solid var(--tty-border-light, #e5eceb);
  border-radius: 999px;
  background: var(--tty-bg-primary, #fff);
  color: var(--tty-primary, #197c75);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--tty-shadow-sm, 0 8px 24px rgba(0, 0, 0, 0.06));
}

.tty-intent-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.tty-intent-title-wrap h2 {
  margin: 0;
  color: var(--tty-header-primary, var(--tty-text-primary, #111827));
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.tty-intent-heartbeat {
  display: flex;
  width: 200px;
  max-width: 100%;
  min-width: 0;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--tty-primary, #197c75);
}

.tty-intent-heartbeat svg {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 50px;
}

.tty-intent-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--tty-text-secondary, #4b5563);
  font-size: 18px;
  line-height: 1.6;
}

.tty-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tty-intent-card {
  position: relative;
  display: flex;
  min-height: 238px;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--tty-border-light, #e5eceb);
  border-radius: 22px;
  background: var(--tty-bg-primary, #fff);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 46px rgba(16, 24, 40, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tty-intent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--tty-primary, #197c75), var(--tty-accent, #f49a4a));
  opacity: 0.9;
}

.tty-intent-card:hover,
.tty-intent-card:focus-visible {
  border-color: var(--tty-primary, #197c75);
  box-shadow: 0 22px 56px rgba(16, 24, 40, 0.12);
  transform: translateY(-3px);
}

.tty-intent-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tty-intent-icon,
.tty-intent-media {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 17px;
  background: rgba(25, 124, 117, 0.1);
  color: var(--tty-primary, #197c75);
}

.tty-intent-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tty-intent-icon i {
  font-size: 24px;
}

.tty-intent-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 48%;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(244, 154, 74, 0.12);
  color: var(--tty-primary, #197c75);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.tty-intent-card strong {
  display: block;
  color: var(--tty-text-primary, #111827);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.tty-intent-text {
  display: block;
  color: var(--tty-text-secondary, #4b5563);
  font-size: 15px;
  line-height: 1.55;
}

.tty-intent-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--tty-primary, #197c75);
  font-size: 15px;
  font-weight: 850;
}

.tty-intent-cta i {
  transition: transform 0.22s ease;
}

.tty-intent-card:hover .tty-intent-cta i,
.tty-intent-card:focus-visible .tty-intent-cta i {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .tty-intent-grid {
    grid-template-columns: 1fr;
  }

  .tty-intent-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .tty-intent-section {
    padding: 0 0 80px;
  }

  .tty-intent-inner {
    width: min(100% - 24px, 1180px);
  }

  .tty-intent-header {
    margin-bottom: 34px;
  }

  .tty-intent-title-wrap {
    align-items: center;
  }

  .tty-intent-title-wrap h2 {
    font-size: 28px;
  }

  .tty-intent-heartbeat {
    width: 160px;
    height: 40px;
  }

  .tty-intent-heartbeat svg {
    width: 160px;
    height: 40px;
  }

  .tty-intent-header p {
    font-size: 15px;
  }

  .tty-intent-card {
    padding: 16px;
    border-radius: 20px;
  }

  .tty-intent-label {
    max-width: 58%;
  }
}
