.education {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.education h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* LISTA */
.education-list {
  display: grid;
  row-gap: 22px;
}

/* ITEM */
.education-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  column-gap: 16px;
  min-width: 0;
}

.education-info {
  display: grid;
  row-gap: 4px;
}

/* LOGO */
.education-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-color);
}

.education-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}


.education-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.education-role {
  font-size: 13px;
  color: #555;
}

/* FECHA */
.education-date {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

/* DIVISOR */
.education-item+.education-item {
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

/* MOBILE */
/* MOBILE */
@media (max-width: 768px) {
  .education-item {
    grid-template-columns: 42px 1fr;
    row-gap: 8px;
    column-gap: 16px;
  }

  .education-date {
    grid-column: 2;
    font-size: 11px;
    color: var(--text-tertiary);
  }
}

.contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  text-align: center;
}

/* BADGE */
.contact-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg-color);
  margin-bottom: 18px;
}

/* TITLE */
.contact h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* TEXT */
.contact p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* LINK */
.contact p a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.contact p a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact {
    padding: 72px 20px 96px;
  }
}