/* === Kids Kingdom — Certificaciones CSS === */

.cert-wrap {
  background: white;
  border-radius: 36px;
  padding: 60px 50px;
  border: 1px solid rgba(75, 69, 145, 0.08);
  box-shadow: 0 20px 50px -25px rgba(75, 69, 145, 0.18);
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .cert-wrap { padding: 44px 24px; border-radius: 28px; } }

.cert-wrap::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 176, 106, 0.18), transparent 60%);
  pointer-events: none;
}
.cert-wrap::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.15), transparent 60%);
  pointer-events: none;
}

.cert-head { max-width: 680px; margin-bottom: 40px; position: relative; z-index: 2; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cert-grid { grid-template-columns: 1fr; } }

.cert-card {
  background: var(--kk-paper);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(75, 69, 145, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(75, 69, 145, 0.25);
}
.cert-ic {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--kk-green);
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 6px 14px -6px rgba(95, 176, 106, 0.6);
}
.cert-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 4px;
  line-height: 1.15;
}
.cert-card p {
  margin: 0;
  color: var(--kk-gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.cert-foot {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(75, 69, 145, 0.08), rgba(184, 134, 11, 0.08));
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative; z-index: 2;
  border: 1px dashed rgba(75, 69, 145, 0.25);
}
.cert-foot-ic {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 14px;
  background: white;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(184, 134, 11, 0.4);
}
.cert-foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--kk-ink);
}
.cert-foot p strong { color: var(--kk-purple); }
