/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
}

.left {
  flex: 1;
  padding-right: 40px;
}

.right {
  flex: 1;
  text-align: center;
}

.hero-highlight {
  margin-bottom: 30px; /* espacio debajo del texto del diferenciador */
}

/* Botones de acción */
.cta-buttons {
  margin-top: 40px;   /* espacio arriba para separar los botones */
  display: flex;
  gap: 15px;          /* separación entre botones */
  flex-wrap: wrap;    /* si no caben, se acomodan abajo */
}

.cta-buttons a {
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-secondary {
  background: #e5e7eb;
  color: #1f2937;
}

/* Header general */
header {
  background: #fff;              /* fondo blanco */
  padding: 15px 30px;
  border-bottom: 1px solid #ddd; /* línea sutil abajo */
}

/* Contenedor del nav */
nav {
  display: flex;
  justify-content: space-between; /* nombre a la izquierda, menú a la derecha */
  align-items: center;
}

/* Nombre principal */
.logo {
  font-size: 2.2em;          /* más grande */
  font-weight: bold;         /* negrita */
  color: #000;               /* negro */
  letter-spacing: 1px;       /* separación elegante */
}

/* Menú de navegación */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;                 /* espacio entre enlaces */
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #000;               /* texto negro */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #6a0dad;            /* efecto hover púrpura */
}

/* Imagen de perfil */
.profile-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;        /* círculo */
  object-fit: cover;
  object-position: top;
  border: 3px solid #2563eb; /* borde azul elegante */
  margin-bottom: 1rem;
}

/* Textos */
.left h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.right h2 {
  margin: 10px 0;
}

.right p {
  margin: 5px 0;
}

.right a {
  color: #0077cc;
  margin: 0 10px;
  font-size: 1.5em;
}

/* Experiencia */
.experience-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.experience-list li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.experience-list i {
  color: #2563eb;
  margin-top: 2px;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dos columnas */
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-method i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2563eb;
}

.contact-method h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Para que el CV ocupe toda la última fila */
.contact-method:last-child {
  grid-column: span 2;
}