/* ════════════════════════════════════════════════════
   Cards Temáticas
   ════════════════════════════════════════════════════ */

.ctk {
  --ck-green: #2e7d32;
  --ck-green-lt: #4caf50;
  --ck-green-pale: #e8f5e9;
  --ck-dark: #1a1a2e;
  --ck-ink: #333;
  --ck-sub: #777;
  --ck-line: #e8e8e8;
  background: #f9fafb;
  padding: 40px 0 44px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ck-ink);
}

.ctk h2,
.ctk h3 {
  font-family: 'Playfair Display', serif;
  color: var(--ck-dark);
}

.ctk__box {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.ctk__head {
  text-align: center;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .55s ease;
}

.ctk__head.show {
  opacity: 1;
  transform: none;
}

.ctk__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--ck-green);
  margin-bottom: 6px;
}

.ctk__tag::before,
.ctk__tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--ck-green);
  border-radius: 2px;
}

.ctk__h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 4px;
}

.ctk__h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ck-green), var(--ck-green-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ctk__sub {
  font-size: .88rem;
  color: var(--ck-sub);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Grid ── */
.ctk__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: all .6s ease .2s;
}

.ctk__grid.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .ctk__grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 540px) {
  .ctk__grid { grid-template-columns: 1fr !important; }
}

/* ── Card ── */
.ctk__card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--ck-line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.ctk__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ck-green), var(--ck-green-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.ctk__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
  border-color: var(--ck-green-pale);
}

.ctk__card:hover::before {
  transform: scaleX(1);
}

/* ── Icon ── */
.ctk__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ck-green), var(--ck-green-lt));
  transition: transform .3s ease;
}

.ctk__card:hover .ctk__icon {
  transform: scale(1.08) rotate(-4deg);
}

.ctk__card h3 {
  font-size: .88rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.ctk__card p {
  font-size: .78rem;
  color: var(--ck-sub);
  line-height: 1.5;
  margin: 0;
}
