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

body {
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  color: #1a1a2e;
}

.caja-principal {
  width: 100%;
  max-width: 900px;
  animation: aparecer 0.7s ease both;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cv {
  display: grid;
  grid-template-columns: 260px 1fr;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.columna-izquierda {
  background: #1d5e8a;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.foto-seccion {
  background: #1a3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 24px;
}

.foto-circulo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #f4a024;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-circulo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}

.foto-circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.seccion {
  padding: 18px 22px;
  border-top: 3px solid #1a3a5c;
  animation: aparecer 0.5s ease both;
}

.titulo-seccion {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #f4a024;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.lista-contacto {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lista-contacto li {
  color: #ffffff;
  font-size: 11.5px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
  transition: color 0.2s;
}

.lista-contacto li:hover {
  color: #f4a024;
}

.icono {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.subtitulo-habilidad {
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 10px 0 6px;
  text-transform: uppercase;
  opacity: 0.85;
}

.lista-habilidades {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lista-habilidades li {
  color: rgba(255,255,255,0.8);
  font-size: 11.5px;
  padding-left: 14px;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}

.lista-habilidades li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #f4a024;
  font-size: 10px;
}

.lista-habilidades li:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.idioma {
  margin-bottom: 12px;
}

.nombre-idioma {
  display: block;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.barra {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2px;
}

.barra-relleno {
  height: 100%;
  background: linear-gradient(90deg, #f4a024, #f7c85a);
  border-radius: 10px;
  transition: width 1.2s ease;
  width: 0;
}

.nivel-idioma {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.columna-derecha {
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
}

.encabezado-nombre {
  background: #1a3a5c;
  padding: 28px 28px 22px;
  display: flex;
  align-items: center;
  min-height: 142px;
}

.nombre-completo {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cargo {
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #f4a024;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.tarjeta {
  margin: 10px 14px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tarjeta:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

.tarjeta-encabezado {
  background: #0e8c8c;
  padding: 8px 14px;
}

.tarjeta-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tarjeta-cuerpo {
  padding: 14px 16px;
}

.tarjeta-cuerpo p {
  font-size: 11.5px;
  color: #3a3a5a;
  line-height: 1.7;
}

.item-edu {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e0e0e0;
}

.item-edu:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nombre-carrera {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 2px;
}

.anio-edu {
  font-size: 10.5px;
  color: #f4a024;
  font-weight: 600;
  margin-bottom: 2px;
}

.nombre-escuela {
  font-size: 11px;
  color: #3a3a5a;
}

.item-exp {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e0e0e0;
}

.item-exp:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nombre-empresa {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.info-exp {
  font-size: 10.5px;
  color: #888888;
  margin-bottom: 6px;
  font-style: italic;
}

.lista-tareas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lista-tareas li {
  font-size: 11px;
  color: #3a3a5a;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s;
}

.lista-tareas li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #0e8c8c;
  font-size: 10px;
  top: 1px;
}

.lista-tareas li:hover {
  color: #1a3a5c;
}

.columna-derecha .tarjeta:last-child {
  margin-bottom: 14px;
}

@media (max-width: 680px) {
  .cv {
    grid-template-columns: 1fr;
  }
  .columna-izquierda {
    order: 2;
  }
  .columna-derecha {
    order: 1;
  }
  .nombre-completo {
    font-size: 22px;
  }
}

@media print {
  body {
    background: none;
    padding: 0;
  }
  .caja-principal {
    max-width: 100%;
  }
  .cv {
    box-shadow: none;
  }
}
