:root {
  --primary: #6e4bd8;
  --secondary: #4b2fa8;
  --light: #f8f9fa;
  --dark: #222;
  --muted: #6b6b7a;
  --radius: 12px;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.8;
  font-size: 1.2rem;
}

p {
  font-size: 1.4rem; /* Párrafos más grandes */
  margin-bottom: 1.4rem;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  text-align: center;
  padding: 3.5rem 1rem;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.hero .subtitle {
  font-size: 2rem;
  font-weight: 500;
}
.hero .cert {
  font-size: 1.4rem;
  margin-top: 0.7rem;
}
.cta-btn {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.3s, transform 0.2s;
  font-size: 1.3rem;
}
.cta-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
}

/* Secciones */
.section {
  padding: 3.5rem 1rem;
}
.section.alt {
  background: #ffffff;
}
.section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 3rem; /* Encabezados más grandes */
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
}
.skill-card {
  background: var(--light);
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1.4rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.project-card h3 {
  margin-top: 0;
  color: var(--secondary);
  font-size: 2rem;
}
.link-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s;
  font-size: 1.3rem; /* Botón más grande */
}
.link-btn:hover {
  background: var(--secondary);
}

/* Contacto */
.contact-list {
  list-style: none;
  padding: 0;
  text-align: center;
  font-size: 1.4rem;
}
.contact-list li {
  margin: 0.8rem 0;
}
.contact-list a {
  color: var(--primary);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}
