
   :root {
    --bg-color: #fafafa;         
    --text-primary: #111111;     
    --text-muted: #767676;       
    --border-color: #e5e5e5;     
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

body {
    padding: 0 4%; 
    max-width: 1400px;
    margin: 0 auto;
}


h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* scales with the screen width */
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    max-width: 90%;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    max-width: 42rem; /* Prevents text lines from getting too wide, for better lecture */
}

p strong {
    font-weight: 600;
}

.site-header {
    padding: 10rem 0 6rem 0;
    border-bottom: 1px solid var(--text-primary); 
}

.intro-badge {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sub-headline {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 35rem;
}

/* Asymmetric Grid Rows */
.hub-row {
    display: grid;
    grid-template-columns: 1fr; 
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.row-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.cta-link {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: 1rem;
}

.cta-link span {
    display: inline-block;
    transition: var(--transition-smooth);
}

.cta-link:hover span {
    transform: translateX(6px); 
}

.site-footer {
    padding: 8rem 0 4rem 0;
}

.footer-cta {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-links a {
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0.7; /* Make them slightly muted by default */
}

/* Remove the old underline effect completely */
.footer-links a::after {
    display: none;
}

/* Create a smooth opacity and scale effect on hover */
.footer-links a:hover {
    opacity: 1;
    transform: translateY(-3px); /* Lifts the icon up slightly when hovered */
}

.footer-links svg {
    width: 28px;
    height: 28px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .hub-row {
        grid-template-columns: 1fr 3fr; /* Matches the editorial layout split */
        gap: 4rem;
    }
    
    .row-meta {
        margin-bottom: 0;
        padding-top: 0.5rem;
    }
}

/* --- Navegación Global --- */
.global-header {
    padding: 2rem 0;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 3rem;
  }
  .header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-link {
    font-weight: 700;
    text-decoration: none;
    color: #111111;
  }
  .global-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #666666;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }
  .global-nav a:hover, .global-nav a.active {
    color: #111111;
    font-weight: 500;
  }
  
  /* --- Layout de Acreditaciones --- */
  .page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .section-taxonomy {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #888888;
    display: block;
    margin-bottom: 0.5rem;
  }
  .page-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
  }
  .page-subtitle {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 4rem;
  }
  
  /* --- Elementos de la Línea de Tiempo --- */
  .accreditations-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .accreditation-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem;
  }
  .accreditation-item:last-child {
    border-bottom: none;
  }
  .item-meta {
    font-size: 0.85rem;
    color: #777777;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .meta-separator {
    margin: 0 0.4rem;
    color: #cccccc;
  }
  .item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 0.5rem 0;
  }
  .item-description {
    color: #444444;
    line-height: 1.6;
    margin: 0 0 1rem 0;
  }
  .text-action-link {
    font-size: 0.9rem;
    color: #111111;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
  }
  .text-action-link:hover .arrow {
    transform: translateX(4px);
  }
  .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  /* --- Academic Course Grid --- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eeeeee;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #111111;
  line-height: 1.4;
}

.course-prof {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prof-name {
  font-size: 0.95rem;
  color: #666666;
}

.prof-linkedin {
  color: #888888;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.prof-linkedin:hover {
  color: #111111;
  transform: translateY(-2px);
}

/* --- Network Grid --- */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.peer-card {
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 4px; /* Un toque muy sutil de modernidad */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.peer-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.peer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}