* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #e5e7eb;
  background: #020617;
}

a {
  color: inherit;
}

/* Layout base */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: radial-gradient(circle at top left, #018076 0, #020617 40%);
  padding: 2.5rem 0 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.header-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem;
  align-items: center;
}

.header-text h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
}

.name-highlight {
  color: #018076;
}

.subtitle {
  margin: 0.45rem 0 0.3rem;
  font-size: 0.98rem;
  color: #9ca3af;
}

.tagline {
  margin-top: 0.9rem;
  max-width: 30rem;
  color: #e5e7eb;
}

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #018076;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55);
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.header-links a {
  text-decoration: none;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
  font-size: 0.88rem;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.header-links a:hover {
  background: #e5e7eb;
  color: #020617;
  border-color: #e5e7eb;
}

/* Sections */

.section {
  padding: 2.75rem 0;
  background: #020617;
}

.section-alt {
  background: #020617;
}

.section + .section {
  border-top: 1px solid #111827;
}

h2 {
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.section-intro,
.section p {
  color: #d1d5db;
}

/* Grids */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Cards */

.card {
  background: radial-gradient(circle at top left, rgba(1, 128, 118, 0.25), #020617 60%);
  border-radius: 0.9rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.6);
  border: 1px solid #1f2937;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.card-role {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.card-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.92rem;
}

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #a5b4fc;
}

.card-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* Contact */

.section-alt .container p a {
  color: #6ee7b7;
  text-decoration: none;
}

.section-alt .container p a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: #020617;
  border-top: 1px solid #111827;
  color: #6b7280;
  padding: 1.2rem 0;
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 720px) {
  .header-content {
    align-items: flex-start;
  }

  .header-meta {
    align-items: flex-start;
  }

  .profile-photo {
    width: 96px;
    height: 96px;
  }
}
/* Boton de more...*/
.experience-actions {
  margin-top: 2rem;
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #018076;
  background: #018076;
  color: #f9fafb;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-more:hover {
  background: transparent;
  color: #6ee7b7;
  border-color: #6ee7b7;
}

@media (max-width: 720px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}